diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-21 14:25:51 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-21 14:25:51 -0800 |
| commit | a896eb326e00611434462191ca16efd38651e71c (patch) | |
| tree | 1e83a9796677b5d041566f5b3e0e1be5e379af85 | |
| parent | 6527fc392536b0f72f652e85a9950ede9f363494 (diff) | |
| download | rust-a896eb326e00611434462191ca16efd38651e71c.tar.gz rust-a896eb326e00611434462191ca16efd38651e71c.zip | |
core: Fix unused variable warning
| -rw-r--r-- | src/libcore/option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index d9ddb2fe2b1..1ac8b3cc714 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -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; } |
