1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-18 05:41:50 +01:00

Fix typo in response.rs body() comment (#1126)

Fixes https://github.com/actix/actix-web/issues/1125
This commit is contained in:
Nathan 2019-10-09 09:11:55 -04:00 committed by Nikolay Kim
parent a464ffc23d
commit cc0b4be5b7

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