Skip to content

Commit

Permalink
Migrate to Rust 2021 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 8, 2023
1 parent 59ee2ea commit 62e3454
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "async-io"
# - Create "v1.x.y" git tag
version = "1.13.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
edition = "2021"
rust-version = "1.63"
description = "Async I/O and timers"
license = "Apache-2.0 OR MIT"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
)]

use std::convert::TryFrom;
use std::future::Future;
use std::io::{self, IoSlice, IoSliceMut, Read, Write};
use std::net::{SocketAddr, TcpListener, TcpStream, UdpSocket};
Expand Down
1 change: 0 additions & 1 deletion src/os/kqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use __private::QueueableSealed;
use crate::reactor::{Reactor, Readable, Registration};
use crate::Async;

use std::convert::{TryFrom, TryInto};
use std::future::Future;
use std::io::{Error, Result};
use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd};
Expand Down

0 comments on commit 62e3454

Please sign in to comment.