diff options
| author | Ralph Bodenner <rkbodenner+github@gmail.com> | 2013-06-16 23:21:49 -0700 |
|---|---|---|
| committer | Ralph Bodenner <rkbodenner+github@gmail.com> | 2013-06-16 23:26:08 -0700 |
| commit | 819d07af7f73af36a2bef102b92e5a8701122312 (patch) | |
| tree | 072bcdc960a5fe093a5030c2f1de78fd7375ad0b /src/libstd | |
| parent | 98bd68343c053ff62cbc6617d04e34c54a3cf720 (diff) | |
| download | rust-819d07af7f73af36a2bef102b92e5a8701122312.tar.gz rust-819d07af7f73af36a2bef102b92e5a8701122312.zip | |
Update doc references to new names for std, extra, and std::libc
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/core.rc | 4 | ||||
| -rw-r--r-- | src/libstd/libc.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/core.rc b/src/libstd/core.rc index 8e09a9b17fd..e1f8137a4a9 100644 --- a/src/libstd/core.rc +++ b/src/libstd/core.rc @@ -38,7 +38,7 @@ with the `std::` path prefix, as in `use std::vec`, `use std::task::spawn`, etc. Additionally, `std` contains a `prelude` module that reexports many of the -most common std modules, types and traits. The contents of the prelude are +most common `std` modules, types and traits. The contents of the prelude are imported into every *module* by default. Implicitly, all modules behave as if they contained the following prologue: @@ -66,7 +66,7 @@ they contained the following prologue: #[deny(non_camel_case_types)]; #[deny(missing_doc)]; -// Make core testable by not duplicating lang items. See #2912 +// Make std testable by not duplicating lang items. See #2912 #[cfg(test)] extern mod realstd(name = "std"); #[cfg(test)] pub use kinds = realstd::kinds; #[cfg(test)] pub use ops = realstd::ops; diff --git a/src/libstd/libc.rs b/src/libstd/libc.rs index 26205c930f0..37562a014fb 100644 --- a/src/libstd/libc.rs +++ b/src/libstd/libc.rs @@ -14,8 +14,8 @@ * This module contains bindings to the C standard library, * organized into modules by their defining standard. * Additionally, it contains some assorted platform-specific definitions. -* For convenience, most functions and types are reexported from `core::libc`, -* so `pub use core::libc::*` will import the available +* For convenience, most functions and types are reexported from `std::libc`, +* so `pub use std::libc::*` will import the available * C bindings as appropriate for the target platform. The exact * set of functions available are platform specific. * |
