File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pointers, and there are rules about when a type is allowed to implement
16
16
# [ ` Unsize ` ] ( https://doc.rust-lang.org/std/marker/trait.Unsize.html )
17
17
18
18
To contrast, the ` Unsize ` trait is concerned the actual types that are allowed
19
- to be unsized.
19
+ to be unsized.
20
20
21
21
This is not intended to be implemented by users ever, since ` Unsize ` does not
22
22
instruct the compiler (namely codegen) * how* to unsize a type, just whether it
@@ -27,7 +27,7 @@ which must understand how types are represented and unsized.
27
27
28
28
Built-in implementations are provided for:
29
29
* ` T ` -> ` dyn Trait + 'a ` when ` T: Trait ` (and ` T: Sized + 'a ` , and ` Trait `
30
- is object safe ).
30
+ is dyn-compatible [ ^ 2 ] ).
31
31
* ` [T; N] ` -> ` [T] `
32
32
33
33
## Structural implementations
@@ -82,4 +82,4 @@ Specifically, (3.) prevents a choice of projection bound to guide inference
82
82
unnecessarily, though it may guide inference when it is unambiguous.
83
83
84
84
[ ^ 1 ] : The principal is the one non-auto trait of a ` dyn Trait ` .
85
-
85
+ [ ^ 2 ] : Formerly known as "object safe".
You can’t perform that action at this time.
0 commit comments