summaryrefslogtreecommitdiffstats
path: root/library/std/src/sync/once_lock/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sync/once_lock/tests.rs')
-rw-r--r--library/std/src/sync/once_lock/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/once_lock/tests.rs b/library/std/src/sync/once_lock/tests.rs
index 46695225b..d5d32e73d 100644
--- a/library/std/src/sync/once_lock/tests.rs
+++ b/library/std/src/sync/once_lock/tests.rs
@@ -24,7 +24,7 @@ fn sync_once_cell() {
assert_eq!(ONCE_CELL.get(), Some(&92));
});
- ONCE_CELL.get_or_init(|| panic!("Kabom!"));
+ ONCE_CELL.get_or_init(|| panic!("Kaboom!"));
assert_eq!(ONCE_CELL.get(), Some(&92));
}