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 {
219219 }
220220 }
221221
222- // Shared references can be cloned, but mutable references *cannot*!
222+ /// Shared references can be cloned, but mutable references *cannot*!
223223 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
224224 impl < T : ?Sized > Clone for & T {
225225 #[ inline]
@@ -228,7 +228,7 @@ mod impls {
228228 }
229229 }
230230
231- // Shared references can be cloned, but mutable references *cannot*!
231+ /// Shared references can be cloned, but mutable references *cannot*!
232232 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
233233 #[ cfg( not( bootstrap) ) ]
234234 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 {}
8787 message = "the size for values of type `{Self}` cannot be known at compilation time" ,
8888 label = "doesn't have a size known at compile-time" ,
8989 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>"
9191) ]
9292#[ fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
9393#[ cfg_attr( not( bootstrap) , rustc_specialization_trait) ]
@@ -790,7 +790,7 @@ mod copy_impls {
790790 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
791791 impl < T : ?Sized > Copy for * mut T { }
792792
793- // Shared references can be copied, but mutable references *cannot*!
793+ /// Shared references can be copied, but mutable references *cannot*!
794794 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
795795 impl < T : ?Sized > Copy for & T { }
796796}
You can’t perform that action at this time.
0 commit comments