core: Fix unused variable warning
This commit is contained in:
parent
6527fc3925
commit
a896eb326e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ fn test_unwrap_resource() {
|
||||||
{
|
{
|
||||||
let x = r(i);
|
let x = r(i);
|
||||||
let opt = some(x);
|
let opt = some(x);
|
||||||
let y = unwrap(opt);
|
let _y = unwrap(opt);
|
||||||
}
|
}
|
||||||
assert *i == 1;
|
assert *i == 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue