Skip to content

Commit 7d58797

Browse files
committed
core: Reformat the crate docs to look nicer
1 parent 24b4255 commit 7d58797

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/libcore/core.rc

+14-14
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99

1010
#[doc(
1111
brief = "The Rust core library",
12-
desc =
13-
"The core library provides functionality that is closely tied to \
14-
the Rust built-in types and runtime services, or that is used in nearly \
15-
every non-trivial program.\
16-
\n\n\
17-
The core library is linked by default to all crates and the contents \
18-
imported. The effect is as though the user had written the following: \
19-
\n\n\
20-
~~~\n\
21-
use core; \n\
22-
import core::*;\n\
23-
~~~\n\
24-
\n\
25-
This behavior can be disabled with the `--no-core` compiler flag."
12+
desc = "
13+
The core library provides functionality that is closely tied to
14+
the Rust built-in types and runtime services, or that is used in nearly
15+
every non-trivial program.
16+
17+
The core library is linked by default to all crates and the contents
18+
imported. The effect is as though the user had written the following:
19+
20+
~~~
21+
use core;
22+
import core::*;
23+
~~~
24+
25+
This behavior can be disabled with the `--no-core` compiler flag."
2626
)];
2727

2828
export box, char, float, bessel, f32, f64, int, str, ptr;

0 commit comments

Comments
 (0)