diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2021-12-17 21:53:28 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-12-23 19:03:47 +0800 |
| commit | 06a1c14d52a8482a33416c21b320970cab80cccc (patch) | |
| tree | c65ae1e5cf06d9bf4ec6d9db91427e39a65acdda /library/core/src/array | |
| parent | f52eb4ca8b21371f435a1941e05af749a5894df1 (diff) | |
| download | rust-06a1c14d52a8482a33416c21b320970cab80cccc.tar.gz rust-06a1c14d52a8482a33416c21b320970cab80cccc.zip | |
Switch all libraries to the 2021 edition
Diffstat (limited to 'library/core/src/array')
| -rw-r--r-- | library/core/src/array/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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])); |
