File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: d5d774124730ee363620c6e4ec5bf65deea2385c
2
+ refs/heads/master: 0b2ffa5692ce83bbf499262e6023c8f7673f0522
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -879,10 +879,10 @@ parentheses.
879
879
# enum Direction { North, East, South, West }
880
880
fn point_from_direction(dir: Direction) -> Point {
881
881
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}
886
886
}
887
887
}
888
888
~~~~
You can’t perform that action at this time.
0 commit comments