From e7d00ebec7138605ea7d4c826ea4cc92a2f800ce Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Thu, 8 Jan 2015 00:26:21 -0800 Subject: [PATCH] Add missing module stability attributes --- src/libcollections/vec.rs | 2 ++ src/libcore/fmt/mod.rs | 1 + src/libunicode/lib.rs | 1 + 3 files changed, 4 insertions(+) diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index d9344d130b2..69a3947df2b 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -44,6 +44,8 @@ //! let two = xs.pop(); //! ``` +#![stable] + use core::prelude::*; use alloc::boxed::Box; diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 69df413a88c..1d3767c9e33 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -11,6 +11,7 @@ //! Utilities for formatting and printing strings #![allow(unused_variables)] +#![stable] use any; use cell::{Cell, RefCell, Ref, RefMut}; diff --git a/src/libunicode/lib.rs b/src/libunicode/lib.rs index 33b5bc4b5a4..27255cc33ee 100644 --- a/src/libunicode/lib.rs +++ b/src/libunicode/lib.rs @@ -57,6 +57,7 @@ /// (inclusive) are allowed. A `char` can always be safely cast to a `u32`; /// however the converse is not always true due to the above range limits /// and, as such, should be performed via the `from_u32` function.. +#[stable] pub mod char { pub use core::char::{MAX, from_u32, from_digit};