summaryrefslogtreecommitdiff
path: root/rust/alloc/borrow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/alloc/borrow.rs')
-rw-r--r--rust/alloc/borrow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/alloc/borrow.rs b/rust/alloc/borrow.rs
index dde4957200d4..ca8e3dfa7004 100644
--- a/rust/alloc/borrow.rs
+++ b/rust/alloc/borrow.rs
@@ -13,7 +13,7 @@ use core::ops::{Add, AddAssign};
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::borrow::{Borrow, BorrowMut};
-use core::fmt;
+use crate::fmt;
#[cfg(not(no_global_oom_handling))]
use crate::string::String;