Fix typo in response.rs body() comment

Fixes https://github.com/actix/actix-web/issues/1125
This commit is contained in:
Nathan 2019-10-09 08:38:34 -04:00 committed by GitHub
parent a464ffc23d
commit d43f3b1c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ impl<B> Response<B> {
self.head.extensions.borrow_mut() self.head.extensions.borrow_mut()
} }
/// Get body os this response /// Get body of this response
#[inline] #[inline]
pub fn body(&self) -> &ResponseBody<B> { pub fn body(&self) -> &ResponseBody<B> {
&self.body &self.body