Skip to content

Commit 47ce35a

Browse files
jhckraghbrson
authored andcommitted
---
yaml --- r: 24477 b: refs/heads/master c: 0b2ffa5 h: refs/heads/master i: 24475: f4d1231 v: v3
1 parent 6a6b433 commit 47ce35a

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,5 +1,5 @@
11
---
2-
refs/heads/master: d5d774124730ee363620c6e4ec5bf65deea2385c
2+
refs/heads/master: 0b2ffa5692ce83bbf499262e6023c8f7673f0522
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/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)