| commit | 3384c14eedb4c21793336ab5c80931ce27abfc43 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:26:47 2020 -0400 |
| committer | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:26:56 2020 -0400 |
| tree | 84cbaf4097f9378234bb990f354bf9cc6f7da068 | |
| parent | 3dacde91e1537fce54ccce74000fd2a647464668 [diff] [blame] |
Import from libcore where possible
diff --git a/src/rust_str.rs b/src/rust_str.rs index b944ede..38e5cab 100644 --- a/src/rust_str.rs +++ b/src/rust_str.rs
@@ -1,7 +1,7 @@ -use std::mem; -use std::ptr::NonNull; -use std::slice; -use std::str; +use core::mem; +use core::ptr::NonNull; +use core::slice; +use core::str; // Not necessarily ABI compatible with &str. Codegen performs the translation. #[repr(C)]