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).
2020There are two major DSTs exposed by the language:
2121
2222* trait objects: ` dyn MyTrait `
23- * slices: [ ` [T] ` ] , [ ` str ` ] , and others
23+ * slices: [ ` [T] ` ] [ slice ] , [ ` str ` ] , and others
2424
2525A trait object represents some type that implements the traits it specifies.
2626The exact original type is * erased* in favor of runtime reflection
@@ -195,4 +195,4 @@ should behave.
195195[ dst-issue ] : https://github.com/rust-lang/rust/issues/26403
196196[ extern-types ] : https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md
197197[ `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