Typo fix in an expect() message.

This commit is contained in:
Nick Mathewson 2021-10-28 20:22:49 -04:00
parent 6cba1acef4
commit 4107533d77
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ impl IsolationMap {
///
/// Every 30 minutes, on next call to this functions, entry older than 30 minutes are removed
fn get_or_create(&self, key: IsolationKey, now: Instant) -> IsolationToken {
let mut inner = self.inner.lock().expect("Posioned lock on isolation map.");
let mut inner = self.inner.lock().expect("Poisoned lock on isolation map.");
if inner.next_gc < now {
inner.next_gc = now + ISOMAP_GC_INTERVAL;