Skip to content

Commit

Permalink
Merge pull request #9 from burtonageo/master
Browse files Browse the repository at this point in the history
Changed fail macro to panic (compatibility with rust-lang/rust#17894)
  • Loading branch information
csherratt committed Oct 30, 2014
2 parents d68da4c + 705737a commit 5474d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Cube {
3 => Quad::new(0b011, 0b111, 0b110, 0b010),
4 => Quad::new(0b000, 0b010, 0b110, 0b100),
5 => Quad::new(0b101, 0b111, 0b011, 0b001),
idx => fail!("{} face is higher then 6", idx)
idx => panic!("{} face is higher then 6", idx)
}
}

Expand Down

0 comments on commit 5474d24

Please sign in to comment.