File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ const DROP_COPY_SUMMARY: &str = "calls to `std::mem::drop` with a value that imp
180
180
const FORGET_COPY_SUMMARY : & str = "calls to `std::mem::forget` with a value that implements `Copy`. \
181
181
Forgetting a copy leaves the original intact";
182
182
const DROP_NON_DROP_SUMMARY : & str = "call to `std::mem::drop` with a value that does not implement `Drop`. \
183
- Dropping such a type only extends it's contained lifetimes";
183
+ Dropping such a type only extends its contained lifetimes";
184
184
const FORGET_NON_DROP_SUMMARY : & str = "call to `std::mem::forget` with a value that does not implement `Drop`. \
185
185
Forgetting such a type is the same as dropping it";
186
186
Original file line number Diff line number Diff line change 1
- error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends it's contained lifetimes
1
+ error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
2
2
--> $DIR/drop_non_drop.rs:22:5
3
3
|
4
4
LL | drop(Foo);
@@ -11,7 +11,7 @@ note: argument has type `main::Foo`
11
11
LL | drop(Foo);
12
12
| ^^^
13
13
14
- error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends it's contained lifetimes
14
+ error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
15
15
--> $DIR/drop_non_drop.rs:37:5
16
16
|
17
17
LL | drop(Baz(Foo));
You can’t perform that action at this time.
0 commit comments