Skip to content

Commit 0664dd2

Browse files
authored
Migrate to Rust 2021 (#27)
1 parent aabce50 commit 0664dd2

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "async-net"
55
# - Create "v1.x.y" git tag
66
version = "1.8.0"
77
authors = ["Stjepan Glavina <[email protected]>"]
8-
edition = "2018"
8+
edition = "2021"
99
rust-version = "1.63"
1010
description = "Async networking primitives for TCP/UDP/Unix communication"
1111
license = "Apache-2.0 OR MIT"

src/tcp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use std::convert::TryFrom;
21
use std::fmt;
32
use std::io::{self, IoSlice, Read as _, Write as _};
43
use std::net::{Shutdown, SocketAddr};

src/udp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use std::convert::TryFrom;
21
use std::io;
32
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr};
43
#[cfg(unix)]

src/unix.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//!
33
//! This module is an async version of [`std::os::unix::net`].
44
5-
use std::convert::TryFrom;
65
use std::fmt;
76
use std::io::{self, Read as _, Write as _};
87
use std::net::Shutdown;

0 commit comments

Comments
 (0)