1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 08:57:00 +02:00

spelling check

This commit is contained in:
Alexander Andreev
2018-01-31 20:28:53 +03:00
parent e41b175e3d
commit a565e71018
6 changed files with 7 additions and 7 deletions

View File

@@ -127,7 +127,7 @@ impl<S: 'static> InnerHandler<S> {
#[inline]
pub fn handle(&self, req: HttpRequest<S>) -> Reply {
// reason: handler is unique per thread,
// handler get called from async code, and handler doesnt have side effects
// handler get called from async code, and handler doesn't have side effects
#[allow(mutable_transmutes)]
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
let h: &mut Box<RouteHandler<S>> = unsafe { mem::transmute(self.0.as_ref()) };