1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-07-03 20:45:46 +00: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()
}
/// Get body os this response
/// Get body of this response
#[inline]
pub fn body(&self) -> &ResponseBody<B> {
&self.body