File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pub trait Sized {
122122/// [RFC982]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
123123/// [nomicon-coerce]: ../../nomicon/coercions.html
124124#[ unstable( feature = "unsize" , issue = "27732" ) ]
125- #[ lang= "unsize" ]
125+ #[ lang = "unsize" ]
126126pub trait Unsize < T : ?Sized > {
127127 // Empty.
128128}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ use marker::Unsize;
4242/// [unsize]: ../marker/trait.Unsize.html
4343/// [nomicon-coerce]: ../../nomicon/coercions.html
4444#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
45- #[ lang= "coerce_unsized" ]
45+ #[ lang = "coerce_unsized" ]
4646pub trait CoerceUnsized < T > {
4747 // Empty.
4848}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub use intrinsics::write_bytes;
5656/// This has all the same safety problems as `ptr::read` with respect to
5757/// invalid pointers, types, and double drops.
5858#[ stable( feature = "drop_in_place" , since = "1.8.0" ) ]
59- #[ lang= "drop_in_place" ]
59+ #[ lang = "drop_in_place" ]
6060#[ allow( unconditional_recursion) ]
6161pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
6262 // Code here does not matter - this is replaced by the
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ trait Copy {}
3838trait Freeze { }
3939impl Freeze for .. { }
4040
41- #[ lang= "drop_in_place" ]
41+ #[ lang = "drop_in_place" ]
4242#[ inline]
4343#[ allow( unconditional_recursion) ]
4444pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ trait Copy {}
2525trait Freeze { }
2626impl Freeze for .. { }
2727
28- #[ lang= "drop_in_place" ]
28+ #[ lang = "drop_in_place" ]
2929#[ inline]
3030#[ allow( unconditional_recursion) ]
3131pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
You can’t perform that action at this time.
0 commit comments