summaryrefslogtreecommitdiff
path: root/ext/http/slab.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /ext/http/slab.rs
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'ext/http/slab.rs')
-rw-r--r--ext/http/slab.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/slab.rs b/ext/http/slab.rs
index 93a56e9ff..9f7c1f3e9 100644
--- a/ext/http/slab.rs
+++ b/ext/http/slab.rs
@@ -63,7 +63,7 @@ pub fn slab_get(index: SlabId) -> SlabEntry {
unsafe { std::mem::transmute(x.borrow_mut()) }
});
let Some(entry) = lock.get_mut(index as usize) else {
- panic!("HTTP state error: Attemped to access invalid request {} ({} in total available)",
+ panic!("HTTP state error: Attempted to access invalid request {} ({} in total available)",
index,
lock.len())
};