Skip to content

Commit

Permalink
rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed May 20, 2022
1 parent 9230b92 commit a941af8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
77972d2d0134fb597249b3b64dcf9510a790c34e
f24ef2e296ec6fc6fd2e24d7e4bfec3f4cb0577a
2 changes: 1 addition & 1 deletion tests/run-pass/concurrency/tls_lib_drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct TestCell {
impl Drop for TestCell {
fn drop(&mut self) {
for _ in 0..10 { thread::yield_now(); }
println!("Dropping: {} (should be before 'Continue main 1').", self.value.borrow())
println!("Dropping: {} (should be before 'Continue main 1').", *self.value.borrow())
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/run-pass/concurrency/tls_lib_drop_single_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct TestCell {

impl Drop for TestCell {
fn drop(&mut self) {
eprintln!("Dropping: {}", self.value.borrow())
eprintln!("Dropping: {}", *self.value.borrow())
}
}

Expand Down

0 comments on commit a941af8

Please sign in to comment.