Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Aug 1, 2023
1 parent 45a542b commit 686c0bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtual-adapter/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::exports::wasi::http::types::{
use crate::exports::wasi::io::streams::{InputStream, OutputStream, StreamError, Streams};
use crate::exports::wasi::poll::poll::Poll;
use crate::exports::wasi::sockets::ip_name_lookup::{
IpAddressFamily, IpNameLookup, Network, ResolveAddressStream,
IpAddress, IpAddressFamily, IpNameLookup, Network, ResolveAddressStream,
};
use crate::exports::wasi::sockets::tcp::ErrorCode as NetworkErrorCode;
use crate::exports::wasi::sockets::tcp::{IpSocketAddress, ShutdownType, Tcp, TcpSocket};
Expand Down Expand Up @@ -1365,7 +1365,7 @@ impl IpNameLookup for VirtAdapter {
}
fn resolve_next_address(
this: ResolveAddressStream,
) -> Result<Option<ip_name_lookup::IpAddress>, NetworkErrorCode> {
) -> Result<Option<IpAddress>, NetworkErrorCode> {
ip_name_lookup::resolve_next_address(this)
}
fn drop_resolve_address_stream(this: ResolveAddressStream) {
Expand Down

0 comments on commit 686c0bb

Please sign in to comment.