mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
librustrt: fix fallout
This commit is contained in:
@@ -128,7 +128,7 @@ fn smoke_test() {
|
||||
assert!(take() == Some(expected.clone()));
|
||||
assert!(take() == None);
|
||||
|
||||
(|| {
|
||||
(|&mut:| {
|
||||
}).finally(|| {
|
||||
// Restore the actual global state.
|
||||
match saved_value {
|
||||
|
||||
Reference in New Issue
Block a user