Skip to content

Commit 919093d

Browse files
committed
array_map features is on stable rust:
- Cargo - add rust_version - lib - Remove doc comment for stabilization
1 parent 87511e4 commit 919093d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ categories = ["data-structures", "no-std"]
88
documentation = "https://docs.rs/holodeque"
99
repository = "https://github.com/dataphract/holodeque"
1010
readme = "README.md"
11-
version = "0.2.0" # if changed, html_root_url must also be changed!
11+
version = "0.2.1" # if changed, html_root_url must also be changed!
1212
edition = "2018"
1313

14+
rust_version = "1.55.0"
15+
1416
[package.metadata.docs.rs]
1517
all-features = true
1618
rustdoc-args = ["--cfg", "docsrs"]

src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
//! This crate provides [`ArrayDeque`] and [`SliceDeque`], fixed-size ring
44
//! buffers with interfaces similar to the standard library's [`VecDeque`].
55
//!
6-
//! `holodeque` makes use of the unstable [`array_map`] feature to provide
7-
//! `Default` initialization of arbitrarily-sized arrays. As a result, **a
8-
//! `nightly` compiler is required until this feature is stabilized**. See the
9-
//! [tracking issue] for its current status.
10-
//!
116
//! [`VecDeque`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html
127
//! [`array_map`]: https://doc.rust-lang.org/unstable-book/library-features/array-map.html
138
//! [tracking issue]: https://github.com/rust-lang/rust/issues/75243
@@ -84,11 +79,10 @@
8479
//! [`MaybeUninit`]: https://doc.rust-lang.org/core/mem/union.MaybeUninit.html
8580
//! [`tinyvec`]: https://docs.rs/tinyvec
8681
87-
#![feature(array_map)]
8882
#![forbid(unsafe_code)]
8983
#![warn(missing_docs)]
9084
#![cfg_attr(not(feature = "std"), no_std)]
91-
#![doc(html_root_url = "https://docs.rs/holodeque/0.2.0")]
85+
#![doc(html_root_url = "https://docs.rs/holodeque/0.2.1")]
9286

9387
pub mod array_deque;
9488
mod meta;

0 commit comments

Comments
 (0)