]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/tests/vec.rs
liballoc: adjust abolute imports + more import fixes.
[rust.git] / src / liballoc / tests / vec.rs
index 473d41d483eff5e8a2aef07d27a296101503aeda..b65c68d51a5027bf2bacfe5593e20f146dfbf8c8 100644 (file)
@@ -640,7 +640,7 @@ fn test_splice_unbounded() {
 fn test_splice_forget() {
     let mut v = vec![1, 2, 3, 4, 5];
     let a = [10, 11, 12];
-    ::std::mem::forget(v.splice(2..4, a.iter().cloned()));
+    std::mem::forget(v.splice(2..4, a.iter().cloned()));
     assert_eq!(v, &[1, 2]);
 }