From 06a1c14d52a8482a33416c21b320970cab80cccc Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Fri, 17 Dec 2021 21:53:28 +0800 Subject: Switch all libraries to the 2021 edition --- library/core/src/array/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'library/core/src/array') diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index 37292bf8e26..121aa634deb 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -66,8 +66,6 @@ where /// /// ```rust /// #![feature(array_from_fn)] -/// # // Apparently these doc tests are still on edition2018 -/// # use std::convert::TryInto; /// /// let array: Result<[u8; 5], _> = std::array::try_from_fn(|i| i.try_into()); /// assert_eq!(array, Ok([0, 1, 2, 3, 4])); -- cgit 1.4.1-3-g733a5