Skip to content

Commit fb6f6c7

Browse files
committed
Revert "Avoid leaking block expression values"
This reverts commit 4fef391.
1 parent f20a754 commit fb6f6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/collections/btree/map/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1882,7 +1882,7 @@ fn test_append_drop_leak() {
18821882

18831883
catch_unwind(move || left.append(&mut right)).unwrap_err();
18841884

1885-
assert_eq!(DROPS.load(SeqCst), 5);
1885+
assert_eq!(DROPS.load(SeqCst), 4); // Rust issue #47949 ate one little piggy
18861886
}
18871887

18881888
#[test]

0 commit comments

Comments
 (0)