Skip to content

Commit d1246b6

Browse files
committed
Compilation fix.
1 parent 7ec5de2 commit d1246b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/env/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,14 @@ impl<E: Env> Env for &E {
141141

142142
fn dgram(
143143
&self,
144-
socket: SocketAddr,
144+
src: SocketAddr,
145+
dest: SocketAddr,
145146
) -> impl AsyncConnect<Connection: AsyncDgramRecv + AsyncDgramSend + Send + Sync + Unpin + 'static>
146147
+ Clone
147148
+ Send
148149
+ Sync
149150
+ 'static {
150-
(**self).dgram(socket)
151+
(**self).dgram(src, dest)
151152
}
152153

153154
async fn stub_resolver_from_conf(&self, config: ResolvConf) -> StubResolver {

0 commit comments

Comments
 (0)