Skip to content

Commit c935a88

Browse files
committed
Remove duplication of libstd docs.
This is literally a copy-paste, there's no need to have this duplication.
1 parent c8f47db commit c935a88

File tree

1 file changed

+6
-50
lines changed

1 file changed

+6
-50
lines changed

doc/tutorial.md

Lines changed: 6 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,59 +3196,15 @@ Both auto-insertions can be disabled with an attribute if necessary:
31963196
#[no_implicit_prelude];
31973197
~~~
31983198

3199-
## The standard library in detail
3200-
3201-
The Rust standard library provides runtime features required by the language,
3202-
including the task scheduler and memory allocators, as well as library
3203-
support for Rust built-in types, platform abstractions, and other commonly
3204-
used features.
3205-
3206-
[`std`] includes modules corresponding to each of the integer types, each of
3207-
the floating point types, the [`bool`] type, [tuples], [characters], [strings],
3208-
[vectors], [managed boxes], [owned boxes],
3209-
and unsafe and borrowed [pointers]. Additionally, `std` provides
3210-
some pervasive types ([`option`] and [`result`]),
3211-
[task] creation and [communication] primitives,
3212-
platform abstractions ([`os`] and [`path`]), basic
3213-
I/O abstractions ([`io`]), [containers] like [`hashmap`],
3214-
common traits ([`kinds`], [`ops`], [`cmp`], [`num`],
3215-
[`to_str`], [`clone`]), and complete bindings to the C standard library ([`libc`]).
3216-
3217-
The full documentation for `std` can be found here: [standard library].
3218-
3219-
[standard library]: std/index.html
3220-
[`std`]: std/index.html
3221-
[`bool`]: std/bool/index.html
3222-
[tuples]: std/tuple/index.html
3223-
[characters]: std/char/index.html
3224-
[strings]: std/str/index.html
3225-
[vectors]: std/vec/index.html
3226-
[managed boxes]: std/managed/index.html
3227-
[owned boxes]: std/owned/index.html
3228-
[pointers]: std/ptr/index.html
3229-
[`option`]: std/option/index.html
3230-
[`result`]: std/result/index.html
3231-
[task]: std/task/index.html
3232-
[communication]: std/comm/index.html
3233-
[`os`]: std/os/index.html
3234-
[`path`]: std/path/index.html
3235-
[`io`]: std/io/index.html
3236-
[containers]: std/container/index.html
3237-
[`hashmap`]: std/hashmap/index.html
3238-
[`kinds`]: std/kinds/index.html
3239-
[`ops`]: std/ops/index.html
3240-
[`cmp`]: std/cmp/index.html
3241-
[`num`]: std/num/index.html
3242-
[`to_str`]: std/to_str/index.html
3243-
[`clone`]: std/clone/index.html
3244-
[`libc`]: std/libc/index.html
3199+
See the [API documentation][stddoc] for details.
3200+
3201+
[stddoc]: std/index.html
32453202

32463203
## The extra library
32473204

3248-
Rust also ships with the [extra library], an accumulation of
3249-
useful things, that are however not important enough
3250-
to deserve a place in the standard library.
3251-
You can use them by linking to `extra` with an `extern mod extra;`.
3205+
Rust also ships with the [extra library], an accumulation of useful things,
3206+
that are however not important enough to deserve a place in the standard
3207+
library. You can use them by linking to `extra` with an `extern mod extra;`.
32523208

32533209
[extra library]: extra/index.html
32543210

0 commit comments

Comments
 (0)