docs(server): fix Response::set_status() documentation

This commit is contained in:
Dmitry Gritsay
2017-01-07 14:59:27 +02:00
parent bf2b8faa73
commit 334c4800bb

View File

@@ -35,7 +35,7 @@ impl<'a> Response<'a> {
#[inline]
pub fn headers_mut(&mut self) -> &mut header::Headers { &mut self.head.headers }
/// Get a mutable reference to the status.
/// Set the status of this response.
#[inline]
pub fn set_status(&mut self, status: StatusCode) {
self.head.subject = status;