Skip to content

Commit 1abbb20

Browse files
committed
Avoid leaking block expression values
1 parent b4b2173 commit 1abbb20

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
@@ -1772,7 +1772,7 @@ fn test_append_drop_leak() {
17721772

17731773
catch_unwind(move || left.append(&mut right)).unwrap_err();
17741774

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

17781778
#[test]

0 commit comments

Comments
 (0)