You can create your own Stringusing ... create your own line:
struct String {
len: u8,
}
fn main() {}
You can then eliminate which Stringyou want to use fully defined paths:
fn main() {
// String::new();
// error: type `String` does not implement any method in scope named `new`
std::string::String::new();
}
A complete list of automatically imported items can be found in the prelude (version 1, at the time of writing).