diff options
Diffstat (limited to 'ext/http/slab.rs')
-rw-r--r-- | ext/http/slab.rs | 2 |
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()) }; |