Skip to content

Commit 8f660c4

Browse files
authored
Fix import
1 parent 60ceb62 commit 8f660c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/slice.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
use core::borrow::{Borrow, BorrowMut};
1313
#[cfg(not(no_global_oom_handling))]
1414
use core::cmp::Ordering::{self, Less};
15+
#[cfg(kani)]
16+
use core::kani;
1517
#[cfg(not(no_global_oom_handling))]
1618
use core::mem::MaybeUninit;
1719
#[cfg(not(no_global_oom_handling))]
@@ -62,8 +64,6 @@ use crate::alloc::Global;
6264
#[cfg(not(no_global_oom_handling))]
6365
use crate::borrow::ToOwned;
6466
use crate::boxed::Box;
65-
#[cfg(kani)]
66-
use crate::kani;
6767
use crate::vec::Vec;
6868

6969
impl<T> [T] {

0 commit comments

Comments
 (0)