Skip to content

Commit

Permalink
Rollup merge of rust-lang#129890 - alex:patch-1, r=workingjubilee
Browse files Browse the repository at this point in the history
Remove stray word in a comment
  • Loading branch information
matthiaskrgr authored Sep 2, 2024
2 parents 6d0e687 + 9a76abd commit ccc294c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sync/once_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ impl<T> OnceLock<T> {
res = Err(e);

// Treat the underlying `Once` as poisoned since we
// failed to initialize our value. Calls
// failed to initialize our value.
p.poison();
}
}
Expand Down

0 comments on commit ccc294c

Please sign in to comment.