File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ mod impls {
219
219
}
220
220
}
221
221
222
- // Shared references can be cloned, but mutable references *cannot*!
222
+ /// Shared references can be cloned, but mutable references *cannot*!
223
223
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
224
224
impl < T : ?Sized > Clone for & T {
225
225
#[ inline]
@@ -228,7 +228,7 @@ mod impls {
228
228
}
229
229
}
230
230
231
- // Shared references can be cloned, but mutable references *cannot*!
231
+ /// Shared references can be cloned, but mutable references *cannot*!
232
232
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
233
233
#[ cfg( not( bootstrap) ) ]
234
234
impl < T : ?Sized > !Clone for & mut T { }
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ impl<T: ?Sized> !Send for *mut T {}
87
87
message = "the size for values of type `{Self}` cannot be known at compilation time" ,
88
88
label = "doesn't have a size known at compile-time" ,
89
89
note = "to learn more, visit <https://doc.rust-lang.org/book/\
90
- ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>"
90
+ ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>"
91
91
) ]
92
92
#[ fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
93
93
#[ cfg_attr( not( bootstrap) , rustc_specialization_trait) ]
@@ -790,7 +790,7 @@ mod copy_impls {
790
790
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
791
791
impl < T : ?Sized > Copy for * mut T { }
792
792
793
- // Shared references can be copied, but mutable references *cannot*!
793
+ /// Shared references can be copied, but mutable references *cannot*!
794
794
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
795
795
impl < T : ?Sized > Copy for & T { }
796
796
}
You can’t perform that action at this time.
0 commit comments