Compare commits

..

3 commits

Author SHA1 Message Date
2edfe7d51f docs(example): get and save 2024-11-09 15:39:24 +00:00
dd77e2226e feat: Net and MockNet wrappers for InnerNet<Mocker> and InnerNet<Unmocked> 2024-11-09 15:39:24 +00:00
60ac665e00 feat: Net<Mocked> uses internal mutability
Some checks failed
Rust / build (map[name:stable]) (push) Failing after 27s
Rust / build (map[name:nightly]) (push) Failing after 1m18s
2024-11-09 15:39:24 +00:00

View file

@ -158,7 +158,7 @@ impl InnerNet<Mocked> {
} }
} }
/// Creates a [http::response::Builder] to be extended and returned by a mocked network request. /// Creates a [ResponseBuilder] to be extended and returned by a mocked network request.
pub fn response(&self) -> http::response::Builder { pub fn response(&self) -> http::response::Builder {
Default::default() Default::default()
} }