1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-11-21 13:25:53 +02:00

Mention https://std.rs/ and rustup doc (#2421)

These are convenient short-cuts for going to the standard library
documentation.
This commit is contained in:
Martin Geisler 2024-10-17 02:53:02 -04:00 committed by GitHub
parent 4096bf89ae
commit 36a592df28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,8 @@ Rust comes with extensive documentation. For example:
[`Option`](https://doc.rust-lang.org/stable/std/option/enum.Option.html) or
[`BinaryHeap`](https://doc.rust-lang.org/stable/std/collections/struct.BinaryHeap.html).
Use `rustup doc --std` or <https://std.rs> to view the documentation.
In fact, you can document your own code:
```rust,editable