Switch all libraries to the 2021 edition

This commit is contained in:
Deadbeef
2021-12-17 21:53:28 +08:00
parent f52eb4ca8b
commit 06a1c14d52
18 changed files with 18 additions and 65 deletions

View File

@@ -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]));