diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:12:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:26:03 +1100 |
| commit | c00104f36a1dd6aad318d410ffa41b9ec531880a (patch) | |
| tree | 2e317d3960f021384faa3f8ae7f19a9eed1ac849 /src/libstd/ptr.rs | |
| parent | b3cee6203457b98c030a8597f97b037a8d447f40 (diff) | |
| download | rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.tar.gz rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.zip | |
std: silence warnings when compiling test.
Diffstat (limited to 'src/libstd/ptr.rs')
| -rw-r--r-- | src/libstd/ptr.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/ptr.rs b/src/libstd/ptr.rs index 070884c078c..9cf36adc36f 100644 --- a/src/libstd/ptr.rs +++ b/src/libstd/ptr.rs @@ -557,8 +557,6 @@ pub mod ptr_tests { #[test] fn test_ptr_addition() { - use vec::raw::*; - unsafe { let xs = ~[5, ..16]; let mut ptr = xs.as_ptr(); |
