Skip to content

Commit e50e9be

Browse files
author
Ulrik Sverdrup
committed
reference: String is not an instantiation of the str type
1 parent c067ae6 commit e50e9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,7 @@ UTF-32 string.
34273427
A value of type `str` is a Unicode string, represented as an array of 8-bit
34283428
unsigned bytes holding a sequence of UTF-8 codepoints. Since `str` is of
34293429
unknown size, it is not a _first-class_ type, but can only be instantiated
3430-
through a pointer type, such as `&str` or `String`.
3430+
through a pointer type, such as `&str`.
34313431

34323432
### Tuple types
34333433

0 commit comments

Comments
 (0)