@@ -306,7 +306,7 @@ Caused by:
306
306
failed to run: ~/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path ~/rust/src/bootstrap/Cargo.toml
307
307
```
308
308
309
- The [ ` \ [patch\ ]` ] [ patchsec ] section of ` Cargo.toml ` can be very useful for
309
+ The [ ` [patch] ` ] [ patchsec ] section of ` Cargo.toml ` can be very useful for
310
310
testing. In addition to that, you should read the [ Overriding
311
311
dependencies] [ overriding ] section of the documentation.
312
312
@@ -320,7 +320,7 @@ reveals what the problem is:
320
320
321
321
> Next up we need to ensure that our lock file is updated to use this new
322
322
> version of uuid so our project uses the locally checked out copy instead of
323
- > one from crates.io. The way ` \ [patch\ ]` works is that it'll load the dependency
323
+ > one from crates.io. The way ` [patch] ` works is that it'll load the dependency
324
324
> at ../path/to/uuid and then whenever crates.io is queried for versions of
325
325
> uuid it'll also return the local version.
326
326
>
@@ -363,12 +363,12 @@ You can find documentation style guidelines in [RFC 1574][rfc1574].
363
363
364
364
In many cases, you don't need a full ` ./x.py doc ` , which will build the entire
365
365
stage 2 compiler and compile the various books published on
366
- [ doc.rust-lang.org] . When updating documentation for the standard library,
366
+ [ doc.rust-lang.org] [ docs ] . When updating documentation for the standard library,
367
367
first try ` ./x.py doc --stage 0 src/libstd ` . If that fails, or if you need to
368
368
see the output from the latest version of ` rustdoc ` , use ` --stage 1 ` instead of
369
369
` --stage 0 ` . Results should appear in ` build/$TARGET/crate-docs ` .
370
370
371
- [ doc.rust-lang.org ] : htts ://doc.rust-lang.org
371
+ [ docs ] : https ://doc.rust-lang.org
372
372
373
373
You can also use ` rustdoc ` directly to check small fixes. For example,
374
374
` rustdoc src/doc/reference.md ` will render reference to ` doc/reference.html ` .
0 commit comments