Skip to content

Commit 583df9c

Browse files
authored
Merge pull request rust-lang#95 from Havvy/str-type-grammar
Grammar fixes for string types section
2 parents 3791cdf + bc79b96 commit 583df9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ The types `char` and `str` hold textual data.
5252

5353
A value of type `char` is a [Unicode scalar value](
5454
http://www.unicode.org/glossary/#unicode_scalar_value) (i.e. a code point that
55-
is not a surrogate), represented as a 32-bit unsigned word in the 0x0000 to
56-
0xD7FF or 0xE000 to 0x10FFFF range. A `[char]` array is effectively an UCS-4 /
55+
is not a surrogate) represented as a 32-bit unsigned word in the 0x0000 to
56+
0xD7FF or 0xE000 to 0x10FFFF range. A `[char]` array is effectively a UCS-4 /
5757
UTF-32 string.
5858

5959
A value of type `str` is a Unicode string, represented as an array of 8-bit

0 commit comments

Comments
 (0)