diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-07 19:26:00 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-07 19:26:36 -0500 |
| commit | 7d72719efc25c6cdb8963c187e93df646ba65245 (patch) | |
| tree | 470d75c976f3fea1873ac7f7720b8139e77d026a /src/libcoretest | |
| parent | ed4bebda965bfbd6845aba52e0a6d622cd4a8d07 (diff) | |
| download | rust-7d72719efc25c6cdb8963c187e93df646ba65245.tar.gz rust-7d72719efc25c6cdb8963c187e93df646ba65245.zip | |
fix the `&mut _` patterns
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/any.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcoretest/any.rs b/src/libcoretest/any.rs index c0be3a28794..e6a7170acea 100644 --- a/src/libcoretest/any.rs +++ b/src/libcoretest/any.rs @@ -101,12 +101,12 @@ fn any_downcast_mut() { } match a_r.downcast_mut::<uint>() { - Some(&612) => {} + Some(&mut 612) => {} x => panic!("Unexpected value {:?}", x) } match b_r.downcast_mut::<uint>() { - Some(&413) => {} + Some(&mut 413) => {} x => panic!("Unexpected value {:?}", x) } } |
