We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
status()
1 parent 5b3f7b7 commit 113dcf2Copy full SHA for 113dcf2
src/tests/util/response.rs
@@ -51,10 +51,6 @@ impl<T> Response<T> {
51
assert_ok!(from_utf8(bytes)).to_string()
52
}
53
54
- pub fn status(&self) -> StatusCode {
55
- self.response.status()
56
- }
57
-
58
#[track_caller]
59
pub fn assert_redirect_ends_with(&self, target: &str) -> &Self {
60
let headers = self.response.headers();
0 commit comments