We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85ca934 + 4aee7b2 commit b6fe27cCopy full SHA for b6fe27c
src/libstd/str.rs
@@ -78,8 +78,8 @@ assert_eq!(buf, ~"testing 123");
78
79
Rust's string type, `str`, is a sequence of unicode codepoints encoded as a
80
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).
+encoded UTF-8 sequences. Additionally, strings are not null-terminated
+and can contain null codepoints.
83
84
The actual representation of strings have direct mappings to vectors:
85
0 commit comments