Skip to content

Commit bf25a9c

Browse files
SimonSapinCentril
authored andcommitted
Update src/test/run-pass/union/union-nodrop.rs
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 0301eaf commit bf25a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/union/union-nodrop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl Drop for NeedDrop {
1313
fn drop(&mut self) {}
1414
}
1515

16-
// Constant expressios allow `NoDrop` to go out of scope,
16+
// Constant expressions allow `NoDrop` to go out of scope,
1717
// unlike a value of the interior type implementing `Drop`.
1818
static X: () = (NoDrop { inner: ManuallyDrop::new(NeedDrop) }, ()).1;
1919

0 commit comments

Comments
 (0)