Skip to content

Commit 325490c

Browse files
committed
Migrate to Rust 2021
1 parent 13df7f3 commit 325490c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "smol"
55
# - Create "v2.x.y" git tag
66
version = "2.0.2"
77
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
8-
edition = "2018"
8+
edition = "2021"
99
rust-version = "1.85"
1010
description = "A small and fast async runtime"
1111
license = "Apache-2.0 OR MIT"

examples/hyper-client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//! cargo run --example hyper-client
77
//! ```
88
9-
use std::convert::TryInto;
109
use std::pin::Pin;
1110
use std::task::{Context, Poll};
1211

0 commit comments

Comments
 (0)