Delete unused variable y in test
This fixes the errors occuring while running the ui tests
This commit is contained in:
parent
cf83e18106
commit
8b2b343b23
2 changed files with 2 additions and 2 deletions
|
|
@ -3,5 +3,5 @@
|
|||
fn main() {
|
||||
println!("Testing option_take_on_temporary");
|
||||
let x = Some(3);
|
||||
let y = x.as_ref().take();
|
||||
x.as_ref().take();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
fn main() {
|
||||
println!("Testing option_take_on_temporary");
|
||||
let x = Some(3);
|
||||
let y = x.as_ref();
|
||||
x.as_ref();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue