core: Reformat the crate docs to look nicer
This commit is contained in:
parent
24b425567c
commit
7d58797453
@ -9,20 +9,20 @@
|
|||||||
|
|
||||||
#[doc(
|
#[doc(
|
||||||
brief = "The Rust core library",
|
brief = "The Rust core library",
|
||||||
desc =
|
desc = "
|
||||||
"The core library provides functionality that is closely tied to \
|
The core library provides functionality that is closely tied to
|
||||||
the Rust built-in types and runtime services, or that is used in nearly \
|
the Rust built-in types and runtime services, or that is used in nearly
|
||||||
every non-trivial program.\
|
every non-trivial program.
|
||||||
\n\n\
|
|
||||||
The core library is linked by default to all crates and the contents \
|
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: \
|
imported. The effect is as though the user had written the following:
|
||||||
\n\n\
|
|
||||||
~~~\n\
|
~~~
|
||||||
use core; \n\
|
use core;
|
||||||
import core::*;\n\
|
import core::*;
|
||||||
~~~\n\
|
~~~
|
||||||
\n\
|
|
||||||
This behavior can be disabled with the `--no-core` compiler flag."
|
This behavior can be disabled with the `--no-core` compiler flag."
|
||||||
)];
|
)];
|
||||||
|
|
||||||
export box, char, float, bessel, f32, f64, int, str, ptr;
|
export box, char, float, bessel, f32, f64, int, str, ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user