about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-23 16:58:30 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-23 16:58:30 -0800
commit7d58797453ceda94d60367a221ee3d224ec78b81 (patch)
treecce1d647a3698c0e58bff9d7b3e1a0add90b7056
parent24b425567ccab35b3fd41762f574c83e16295a26 (diff)
downloadrust-7d58797453ceda94d60367a221ee3d224ec78b81.tar.gz
rust-7d58797453ceda94d60367a221ee3d224ec78b81.zip
core: Reformat the crate docs to look nicer
-rw-r--r--src/libcore/core.rc28
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;