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 c3eb828 commit 085d7b0Copy full SHA for 085d7b0
src/mock.rs
@@ -100,7 +100,7 @@ impl ChannelMockConnector {
100
impl NetworkConnector for ChannelMockConnector {
101
type Stream = MockStream;
102
#[inline]
103
- fn connect(&mut self, _host: &str, _port: u16, _scheme: &str)
+ fn connect(&self, _host: &str, _port: u16, _scheme: &str)
104
-> ::Result<MockStream> {
105
self.calls.send("connect".into()).unwrap();
106
Ok(MockStream::new())
0 commit comments