mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
auto merge of #14514 : Randati/rust/patch-1, r=huonw
This commit is contained in:
commit
25951b2242
@ -1112,7 +1112,7 @@ let ys = xs;
|
||||
|
||||
xs = Nil;
|
||||
|
||||
// `xs` can't be used again
|
||||
// `xs` can be used again
|
||||
~~~
|
||||
|
||||
A destructor call will only occur for a variable that has not been moved from,
|
||||
|
Loading…
Reference in New Issue
Block a user