From 8d42b3c5c95f120f5bd484b9ec4f863f5dfb9f0f Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Sat, 21 Oct 2023 11:15:24 +0200 Subject: [PATCH] Upgrade to latest nightly, async_fn_in_trait is now stable --- rust-toolchain.toml | 2 +- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7d77370..e5b8f6e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ # Before upgrading check that everything is available on all tier1 targets here: # https://rust-lang.github.io/rustup-components-history [toolchain] -channel = "nightly-2023-10-02" +channel = "nightly-2023-10-21" components = ["clippy"] diff --git a/src/lib.rs b/src/lib.rs index 6dd9c71..4571052 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ #![cfg_attr(not(test), no_std)] -#![feature(async_fn_in_trait)] -#![allow(incomplete_features)] +#![allow(async_fn_in_trait)] #![doc = include_str!("../README.md")] use core::{num::ParseIntError, str::Utf8Error};