diff options
| author | Piotr Jawniak <sawyer47@gmail.com> | 2014-05-25 17:35:30 +0200 |
|---|---|---|
| committer | Piotr Jawniak <sawyer47@gmail.com> | 2014-05-28 11:31:21 +0200 |
| commit | 8c5a8e10b25fdd2e12de78f04d2f538a22776024 (patch) | |
| tree | 20e2997c82601cf6d54e16d949090d4122f8710e /src/libstd | |
| parent | 7e049fefc74ce4ee92cf11ac2faff45ae35a1a29 (diff) | |
| download | rust-8c5a8e10b25fdd2e12de78f04d2f538a22776024.tar.gz rust-8c5a8e10b25fdd2e12de78f04d2f538a22776024.zip | |
Rename UTF16Item[s] to Utf16Item[s]
According to Rust's style guide acronyms should be CamelCase. [breaking-change]
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/str.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 9e15612c72b..eb97f0f6a28 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -86,8 +86,8 @@ use vec::Vec; pub use core::str::{from_utf8, CharEq, Chars, CharOffsets}; pub use core::str::{Bytes, CharSplits}; pub use core::str::{CharSplitsN, Words, AnyLines, MatchIndices, StrSplits}; -pub use core::str::{eq_slice, is_utf8, is_utf16, UTF16Items}; -pub use core::str::{UTF16Item, ScalarValue, LoneSurrogate, utf16_items}; +pub use core::str::{eq_slice, is_utf8, is_utf16, Utf16Items}; +pub use core::str::{Utf16Item, ScalarValue, LoneSurrogate, utf16_items}; pub use core::str::{truncate_utf16_at_nul, utf8_char_width, CharRange}; pub use core::str::{Str, StrSlice}; |
