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

fix spelling errors in doc comments

This commit is contained in:
Rob Ede
2020-04-21 04:09:35 +01:00
parent 54619cb680
commit 5b0f7fff69
24 changed files with 44 additions and 44 deletions

View File

@@ -42,7 +42,7 @@ impl<Io, S> FramedRequest<Io, S> {
self.req.head()
}
/// This method returns muttable reference to the request head.
/// This method returns mutable reference to the request head.
/// panics if multiple references of http request exists.
#[inline]
pub fn head_mut(&mut self) -> &mut RequestHead {
@@ -131,7 +131,7 @@ mod tests {
use super::*;
#[test]
fn test_reqest() {
fn test_request() {
let buf = TestBuffer::empty();
let framed = Framed::new(buf, Codec::default());
let req = TestRequest::with_uri("/index.html?q=1")