diff options
| author | Richo Healey <richo@psych0tik.net> | 2014-05-22 16:57:53 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2014-05-24 21:48:10 -0700 |
| commit | 553074506ecd139eb961fb91eb33ad9fd0183acb (patch) | |
| tree | 01682cf8147183250713acf5e8a77265aab7153c /src/libstd/lib.rs | |
| parent | bbb70cdd9cd982922cf7390459d53bde409699ae (diff) | |
| download | rust-553074506ecd139eb961fb91eb33ad9fd0183acb.tar.gz rust-553074506ecd139eb961fb91eb33ad9fd0183acb.zip | |
core: rename strbuf::StrBuf to string::String
[breaking-change]
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index ca70fd162b7..0d42e1743f5 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -49,7 +49,7 @@ //! `&str`, a UTF-8 string, is a built-in type, and the standard library //! defines methods for it on a variety of traits in the //! [`str`](str/index.html) module. Rust strings are immutable; -//! use the `StrBuf` type defined in [`strbuf`](strbuf/index.html) +//! use the `String` type defined in [`strbuf`](strbuf/index.html) //! for a mutable string builder. //! //! For converting to strings use the [`format!`](fmt/index.html) @@ -206,7 +206,7 @@ pub mod prelude; pub mod slice; pub mod vec; pub mod str; -pub mod strbuf; +pub mod string; pub mod ascii; @@ -285,5 +285,5 @@ mod std { // The test runner requires std::slice::Vector, so re-export std::slice just for it. #[cfg(test)] pub use slice; - #[cfg(test)] pub use strbuf; + #[cfg(test)] pub use string; } |
