Fix tidy error
This commit is contained in:
parent
c1c1ad5ec5
commit
b0a317dc6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 => {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue