core: Fix unused variable warning

This commit is contained in:
Brian Anderson 2012-02-21 14:25:51 -08:00
parent 6527fc3925
commit a896eb326e

View file

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