Skip to content

Commit 62e3454

Browse files
authored
Migrate to Rust 2021 (#160)
1 parent 59ee2ea commit 62e3454

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Cargo.toml

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

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
6262
)]
6363

64-
use std::convert::TryFrom;
6564
use std::future::Future;
6665
use std::io::{self, IoSlice, IoSliceMut, Read, Write};
6766
use std::net::{SocketAddr, TcpListener, TcpStream, UdpSocket};

src/os/kqueue.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use __private::QueueableSealed;
55
use crate::reactor::{Reactor, Readable, Registration};
66
use crate::Async;
77

8-
use std::convert::{TryFrom, TryInto};
98
use std::future::Future;
109
use std::io::{Error, Result};
1110
use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd};

0 commit comments

Comments
 (0)