From a59b5c0b865d8314e5858363c55abbb321936b9b Mon Sep 17 00:00:00 2001 From: bluss Date: Sun, 30 Jul 2017 14:14:25 +0200 Subject: [PATCH] DOC: Rust version in docs Required rust version should be in rustdoc Reason: Written in one or a few places. Information is versioned with the crate on docs.rs --- README.rst | 2 +- src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 98ef582..325a07c 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ arrayvec ======== -A vector with fixed capacity. Requires Rust 1.12.0 or later. +A vector with fixed capacity. Please read the `API documentation here`__ diff --git a/src/lib.rs b/src/lib.rs index 9f2c844..a8cd1ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,6 @@ //! //! - `std` //! - Optional, enabled by default -//! - Requires Rust 1.6 *to disable* //! - Use libstd //! //! - `use_union` @@ -14,6 +13,8 @@ //! - Use the unstable feature untagged unions for the internal implementation, //! which has reduced space overhead //! +//! **arrayvec Requires Rust 1.18** +//! #![doc(html_root_url="https://docs.rs/arrayvec/0.3/")] #![cfg_attr(not(feature="std"), no_std)] extern crate odds;