File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ information that "completes" them (more on this below).
20
20
There are two major DSTs exposed by the language:
21
21
22
22
* trait objects: ` dyn MyTrait `
23
- * slices: [ ` [T] ` ] , [ ` str ` ] , and others
23
+ * slices: [ ` [T] ` ] [ slice ] , [ ` str ` ] , and others
24
24
25
25
A trait object represents some type that implements the traits it specifies.
26
26
The exact original type is * erased* in favor of runtime reflection
@@ -195,4 +195,4 @@ should behave.
195
195
[ dst-issue ] : https://github.com/rust-lang/rust/issues/26403
196
196
[ extern-types ] : https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md
197
197
[ `str` ] : ../std/primitive.str.html
198
- [ ` [T] ` ] : ../std/primitive.slice.html
198
+ [ slice ] : ../std/primitive.slice.html
You can’t perform that action at this time.
0 commit comments