Skip to content

Commit 6781a25

Browse files
jhckraghbrson
authored andcommitted
---
yaml --- r: 22369 b: refs/heads/snap-stage3 c: 0b2ffa5 h: refs/heads/master i: 22367: d42d03a v: v3
1 parent 3073d5c commit 6781a25

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d5d774124730ee363620c6e4ec5bf65deea2385c
4+
refs/heads/snap-stage3: 0b2ffa5692ce83bbf499262e6023c8f7673f0522
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,10 +879,10 @@ parentheses.
879879
# enum Direction { North, East, South, West }
880880
fn point_from_direction(dir: Direction) -> Point {
881881
match dir {
882-
North => {x: 0f, y: 1f},
883-
East => {x: 1f, y: 0f},
884-
South => {x: 0f, y: -1f},
885-
West => {x: -1f, y: 0f}
882+
North => Point {x: 0f, y: 1f},
883+
East => Point {x: 1f, y: 0f},
884+
South => Point {x: 0f, y: -1f},
885+
West => Point {x: -1f, y: 0f}
886886
}
887887
}
888888
~~~~

0 commit comments

Comments
 (0)