Skip to content

Commit

Permalink
Remove stray word in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Sep 2, 2024
1 parent 9b82580 commit 06e3552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 06e3552

Please sign in to comment.