Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup #2130

Merged
merged 1 commit into from
May 20, 2022
Merged

rustup #2130

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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