mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
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:
parent
2f307b2f3f
commit
5c984f9d01
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue