v1.rs.html -- source
Description: Source to the Rust file `library/alloc/src/prelude/v1.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14

    //! The first version of the prelude of `alloc` crate.
    //!
    //! See the [module-level documentation](../index.html) for more.

    #![unstable(feature = "alloc_prelude", issue = "58935")]

    #[unstable(feature = "alloc_prelude", issue = "58935")]
    pub use crate::borrow::ToOwned;
    #[unstable(feature = "alloc_prelude", issue = "58935")]
    pub use crate::boxed::Box;
    #[unstable(feature = "alloc_prelude", issue = "58935")]
    pub use crate::string::{String, ToString};
    #[unstable(feature = "alloc_prelude", issue = "58935")]
    pub use crate::vec::Vec;