mmap: remove unused 'use'

usize isn't used in this test any more. Remove compiler warning.

Change-Id: I9493e22f563f2fc15532564ea57d70de593c4421
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/902778
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
This commit is contained in:
Dylan Reid 2018-02-05 16:10:26 -08:00 committed by chrome-bot
parent 2f307b2f3f
commit 5c984f9d01

View file

@ -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,