Skip to content

Commit f685389

Browse files
committed
Fix placement of use directives
1 parent 80a8886 commit f685389

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

library/alloc/src/alloc.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
#[doc(inline)]
77
pub use core::alloc::*;
88
#[cfg(not(test))]
9-
use safety::requires;
10-
#[cfg(kani)]
11-
use crate::kani;
12-
139
use core::hint;
1410
#[cfg(not(test))]
1511
use core::ptr::{self, NonNull};
1612

13+
use safety::requires;
14+
#[cfg(kani)]
15+
#[unstable(feature="kani", issue="none")]
16+
use core::kani;
17+
1718
#[cfg(test)]
1819
mod tests;
1920

0 commit comments

Comments
 (0)