diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-23 16:58:30 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-23 16:58:30 -0800 |
| commit | 7d58797453ceda94d60367a221ee3d224ec78b81 (patch) | |
| tree | cce1d647a3698c0e58bff9d7b3e1a0add90b7056 | |
| parent | 24b425567ccab35b3fd41762f574c83e16295a26 (diff) | |
| download | rust-7d58797453ceda94d60367a221ee3d224ec78b81.tar.gz rust-7d58797453ceda94d60367a221ee3d224ec78b81.zip | |
core: Reformat the crate docs to look nicer
| -rw-r--r-- | src/libcore/core.rc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index cd61222f69f..0794cc6e2c9 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -9,20 +9,20 @@ #[doc( brief = "The Rust core library", - desc = - "The core library provides functionality that is closely tied to \ - the Rust built-in types and runtime services, or that is used in nearly \ - every non-trivial program.\ - \n\n\ - The core library is linked by default to all crates and the contents \ - imported. The effect is as though the user had written the following: \ - \n\n\ - ~~~\n\ - use core; \n\ - import core::*;\n\ - ~~~\n\ - \n\ - This behavior can be disabled with the `--no-core` compiler flag." + desc = " +The core library provides functionality that is closely tied to +the Rust built-in types and runtime services, or that is used in nearly +every non-trivial program. + +The core library is linked by default to all crates and the contents +imported. The effect is as though the user had written the following: + +~~~ +use core; +import core::*; +~~~ + +This behavior can be disabled with the `--no-core` compiler flag." )]; export box, char, float, bessel, f32, f64, int, str, ptr; |
