diff options
| author | Ralph Bodenner <rkbodenner+github@gmail.com> | 2013-06-17 00:07:52 -0700 |
|---|---|---|
| committer | Ralph Bodenner <rkbodenner+github@gmail.com> | 2013-06-17 00:07:52 -0700 |
| commit | 5acc8e5a51e97a6ab5f0aaceedefcf8cd10a0c1b (patch) | |
| tree | 877b4fb88888eec9d2980768daaabccad6771e27 /src/libstd | |
| parent | 819d07af7f73af36a2bef102b92e5a8701122312 (diff) | |
| download | rust-5acc8e5a51e97a6ab5f0aaceedefcf8cd10a0c1b.tar.gz rust-5acc8e5a51e97a6ab5f0aaceedefcf8cd10a0c1b.zip | |
Reproduce text changes from @brson PR 7176 and fix a typo therein
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/core.rc | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/libstd/core.rc b/src/libstd/core.rc index e1f8137a4a9..f37f65c1edc 100644 --- a/src/libstd/core.rc +++ b/src/libstd/core.rc @@ -12,19 +12,20 @@ # The Rust standard library -The Rust standard library provides runtime features required by the language, -including the task scheduler and memory allocators, as well as library -support for Rust built-in types, platform abstractions, and other commonly -used features. - -`std` includes modules corresponding to each of the integer types, each of -the floating point types, the `bool` type, tuples, characters, strings -(`str`), vectors (`vec`), managed boxes (`managed`), owned boxes (`owned`), -and unsafe and borrowed pointers (`ptr`). Additionally, `std` provides -pervasive types (`option` and `result`), task creation and communication -primitives (`task`, `comm`), platform abstractions (`os` and `path`), basic -I/O abstractions (`io`), common traits (`kinds`, `ops`, `cmp`, `num`, -`to_str`), and complete bindings to the C standard library (`libc`). +The Rust standard library is a group of interrelated modules defining +the core language traits, operations on built-in data types, collections, +platform abstractions, the task scheduler, runtime support for language +features and other common functionality. + +`std` includes modules corresponding to each of the integer types, +each of the floating point types, the `bool` type, tuples, characters, +strings (`str`), vectors (`vec`), managed boxes (`managed`), owned +boxes (`owned`), and unsafe and borrowed pointers (`ptr`, `borrowed`). +Additionally, `std` provides pervasive types (`option` and `result`), +task creation and communication primitives (`task`, `comm`), platform +abstractions (`os` and `path`), basic I/O abstractions (`io`), common +traits (`kinds`, `ops`, `cmp`, `num`, `to_str`), and complete bindings +to the C standard library (`libc`). # Standard library injection and the Rust prelude @@ -38,7 +39,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 types, traits and functions. The contents of the prelude are imported into every *module* by default. Implicitly, all modules behave as if they contained the following prologue: |
