Fix tidy error

This commit is contained in:
Jonathan Turner 2016-05-18 08:30:46 -04:00
parent c1c1ad5ec5
commit b0a317dc6f

View file

@ -34,7 +34,7 @@ fn main() {
match hellothere.x { //~ ERROR cannot move out
//~| cannot move out of borrowed content
box E::Foo(_) => {}
box E::Bar(x) => println!("{}", x.to_string()),
box E::Bar(x) => println!("{}", x.to_string()),
//~^ NOTE to prevent move
box E::Baz => {}
}