From 5c984f9d019284d33091b26de3501c83000ad2a8 Mon Sep 17 00:00:00 2001 From: Dylan Reid Date: Mon, 5 Feb 2018 16:10:26 -0800 Subject: [PATCH] mmap: remove unused 'use' usize isn't used in this test any more. Remove compiler warning. Change-Id: I9493e22f563f2fc15532564ea57d70de593c4421 Signed-off-by: Dylan Reid Reviewed-on: https://chromium-review.googlesource.com/902778 Reviewed-by: Sonny Rao --- sys_util/src/mmap.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/sys_util/src/mmap.rs b/sys_util/src/mmap.rs index 18891a1e61..2813234803 100644 --- a/sys_util/src/mmap.rs +++ b/sys_util/src/mmap.rs @@ -433,7 +433,6 @@ mod tests { #[test] fn slice_overflow_error() { - use std::usize; let m = MemoryMapping::new(5).unwrap(); let res = m.get_slice(std::u64::MAX, 3).unwrap_err(); assert_eq!(res,