Skip to content

Commit a941af8

Browse files
committed
rustup
1 parent 9230b92 commit a941af8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
77972d2d0134fb597249b3b64dcf9510a790c34e
1+
f24ef2e296ec6fc6fd2e24d7e4bfec3f4cb0577a

tests/run-pass/concurrency/tls_lib_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct TestCell {
1010
impl Drop for TestCell {
1111
fn drop(&mut self) {
1212
for _ in 0..10 { thread::yield_now(); }
13-
println!("Dropping: {} (should be before 'Continue main 1').", self.value.borrow())
13+
println!("Dropping: {} (should be before 'Continue main 1').", *self.value.borrow())
1414
}
1515
}
1616

tests/run-pass/concurrency/tls_lib_drop_single_thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct TestCell {
88

99
impl Drop for TestCell {
1010
fn drop(&mut self) {
11-
eprintln!("Dropping: {}", self.value.borrow())
11+
eprintln!("Dropping: {}", *self.value.borrow())
1212
}
1313
}
1414

0 commit comments

Comments
 (0)