File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pub trait Sized {
122
122
/// [RFC982]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
123
123
/// [nomicon-coerce]: ../../nomicon/coercions.html
124
124
#[ unstable( feature = "unsize" , issue = "27732" ) ]
125
- #[ lang= "unsize" ]
125
+ #[ lang = "unsize" ]
126
126
pub trait Unsize < T : ?Sized > {
127
127
// Empty.
128
128
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ use marker::Unsize;
42
42
/// [unsize]: ../marker/trait.Unsize.html
43
43
/// [nomicon-coerce]: ../../nomicon/coercions.html
44
44
#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
45
- #[ lang= "coerce_unsized" ]
45
+ #[ lang = "coerce_unsized" ]
46
46
pub trait CoerceUnsized < T > {
47
47
// Empty.
48
48
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub use intrinsics::write_bytes;
56
56
/// This has all the same safety problems as `ptr::read` with respect to
57
57
/// invalid pointers, types, and double drops.
58
58
#[ stable( feature = "drop_in_place" , since = "1.8.0" ) ]
59
- #[ lang= "drop_in_place" ]
59
+ #[ lang = "drop_in_place" ]
60
60
#[ allow( unconditional_recursion) ]
61
61
pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
62
62
// 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 {}
38
38
trait Freeze { }
39
39
impl Freeze for .. { }
40
40
41
- #[ lang= "drop_in_place" ]
41
+ #[ lang = "drop_in_place" ]
42
42
#[ inline]
43
43
#[ allow( unconditional_recursion) ]
44
44
pub 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 {}
25
25
trait Freeze { }
26
26
impl Freeze for .. { }
27
27
28
- #[ lang= "drop_in_place" ]
28
+ #[ lang = "drop_in_place" ]
29
29
#[ inline]
30
30
#[ allow( unconditional_recursion) ]
31
31
pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
You can’t perform that action at this time.
0 commit comments