fix(mock): adjust ChannelMockConnector connect method to compile
This commit is contained in:
		| @@ -100,7 +100,7 @@ impl ChannelMockConnector { | |||||||
| impl NetworkConnector for ChannelMockConnector { | impl NetworkConnector for ChannelMockConnector { | ||||||
|     type Stream = MockStream; |     type Stream = MockStream; | ||||||
|     #[inline] |     #[inline] | ||||||
|     fn connect(&mut self, _host: &str, _port: u16, _scheme: &str) |     fn connect(&self, _host: &str, _port: u16, _scheme: &str) | ||||||
|             -> ::Result<MockStream> { |             -> ::Result<MockStream> { | ||||||
|         self.calls.send("connect".into()).unwrap(); |         self.calls.send("connect".into()).unwrap(); | ||||||
|         Ok(MockStream::new()) |         Ok(MockStream::new()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user