From 7d58797453ceda94d60367a221ee3d224ec78b81 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 23 Jan 2012 16:58:30 -0800 Subject: [PATCH] core: Reformat the crate docs to look nicer --- src/libcore/core.rc | 28 ++++++++++++++-------------- 1 file 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;