diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-04 15:54:16 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-10-11 10:43:54 +0200 |
| commit | bf25a9c82fb9d78447da885eb70d7234d135ecd5 (patch) | |
| tree | 586b45cc5498dd4a4d97b08aad855212030cfcb5 /src | |
| parent | 0301eafd32a128b31cc7c551d5844f6fce965caa (diff) | |
| download | rust-bf25a9c82fb9d78447da885eb70d7234d135ecd5.tar.gz rust-bf25a9c82fb9d78447da885eb70d7234d135ecd5.zip | |
Update src/test/run-pass/union/union-nodrop.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/union/union-nodrop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/union/union-nodrop.rs b/src/test/ui/union/union-nodrop.rs index 330f6f9593b..c99228d7d34 100644 --- a/src/test/ui/union/union-nodrop.rs +++ b/src/test/ui/union/union-nodrop.rs @@ -13,7 +13,7 @@ impl Drop for NeedDrop { fn drop(&mut self) {} } -// Constant expressios allow `NoDrop` to go out of scope, +// Constant expressions allow `NoDrop` to go out of scope, // unlike a value of the interior type implementing `Drop`. static X: () = (NoDrop { inner: ManuallyDrop::new(NeedDrop) }, ()).1; |
