diff options
| author | Jacob Kiesel <xaeroxe@amethyst-engine.org> | 2018-12-28 14:15:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-28 14:15:55 -0700 |
| commit | eed140792d2a32e665e8fc8fb7863aa1da01ab8e (patch) | |
| tree | 9142b1986ba186251edaa659872f6f263495850f /src/libstd/lib.rs | |
| parent | 3cda631ea45bac643ed9e4968f9292b0244a5b82 (diff) | |
| download | rust-eed140792d2a32e665e8fc8fb7863aa1da01ab8e.tar.gz rust-eed140792d2a32e665e8fc8fb7863aa1da01ab8e.zip | |
Update std/lib.rs docs to reflect Rust 2018 usage
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index aa4278a8799..5a33f3e7a37 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -7,11 +7,9 @@ //! primitives](#primitives), [standard macros](#macros), [I/O] and //! [multithreading], among [many other things][other]. //! -//! `std` is available to all Rust crates by default, just as if each one -//! contained an `extern crate std;` import at the [crate root]. Therefore the +//! `std` is available to all Rust crates by default. Therefore the //! standard library can be accessed in [`use`] statements through the path -//! `std`, as in [`use std::env`], or in expressions through the absolute path -//! `::std`, as in [`::std::env::args`]. +//! `std`, as in [`use std::env`]. //! //! # How to read this documentation //! |
