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.
1 parent 6a91bb0 commit 6c6359fCopy full SHA for 6c6359f
src/lib.rs
@@ -94,7 +94,7 @@ impl conduit::Request for MockRequest {
94
Version::parse("0.1.0").unwrap()
95
}
96
97
- fn method(&self) -> Method { self.method }
+ fn method(&self) -> Method { self.method.clone() }
98
fn scheme(&self) -> Scheme { Scheme::Http }
99
fn host(&self) -> Host { Host::Name("example.com") }
100
fn virtual_root(&self) -> Option<&str> { None }
0 commit comments