Skip to content

Commit b6fe27c

Browse files
committed
auto merge of #9462 : SimonSapin/rust/patch-3, r=huonw
2 parents 85ca934 + 4aee7b2 commit b6fe27c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ assert_eq!(buf, ~"testing 123");
7878
7979
Rust's string type, `str`, is a sequence of unicode codepoints encoded as a
8080
stream of UTF-8 bytes. All safely-created strings are guaranteed to be validly
81-
encoded UTF-8 sequences. Additionally, strings are not guaranteed to be
82-
null-terminated (the null byte is a valid unicode codepoint).
81+
encoded UTF-8 sequences. Additionally, strings are not null-terminated
82+
and can contain null codepoints.
8383
8484
The actual representation of strings have direct mappings to vectors:
8585

0 commit comments

Comments
 (0)