Delete unused variable y in test

This fixes the errors occuring while running the ui tests
This commit is contained in:
infrandomness 2022-04-09 18:35:18 +02:00
parent cf83e18106
commit 8b2b343b23
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}

View file

@ -3,5 +3,5 @@
fn main() {
println!("Testing option_take_on_temporary");
let x = Some(3);
let y = x.as_ref();
x.as_ref();
}