Skip to content

Commit

Permalink
Response: remove #[must_use] for set_status()
Browse files Browse the repository at this point in the history
This was missed in 2baf279 and causes unnecessary warnings.
  • Loading branch information
Fishrock123 authored and jbr committed Jun 21, 2020
1 parent f8373ee commit 2c26085
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ impl Response {
}

/// Set the statuscode.
#[must_use]
pub fn set_status(&mut self, status: crate::StatusCode) {
self.res.set_status(status);
}
Expand Down

0 comments on commit 2c26085

Please sign in to comment.