core: Fix unused variable warning

This commit is contained in:
Brian Anderson 2012-02-21 14:25:51 -08:00
parent 6527fc3925
commit a896eb326e
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ fn test_unwrap_resource() {
{
let x = r(i);
let opt = some(x);
let y = unwrap(opt);
let _y = unwrap(opt);
}
assert *i == 1;
}