| commit | c5a52f97048e93f2d66b5ae4fe0666d27acf5096 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:43:29 2020 -0400 |
| committer | David Tolnay <dtolnay@gmail.com> | Mon Sep 14 00:43:29 2020 -0400 |
| tree | 53f2e5d57b7e5dbb9ed80112eeec15186b4e416c | |
| parent | 3384c14eedb4c21793336ab5c80931ce27abfc43 [diff] [blame] |
Import prelude types explicitly from alloc
diff --git a/src/cxx_string.rs b/src/cxx_string.rs index 5780e3e..2c712f1 100644 --- a/src/cxx_string.rs +++ b/src/cxx_string.rs
@@ -1,4 +1,5 @@ use alloc::borrow::Cow; +use alloc::string::String; use core::fmt::{self, Debug, Display}; use core::slice; use core::str::{self, Utf8Error};