Skip to content

Commit c91fe88

Browse files
committed
fix links
1 parent 8501637 commit c91fe88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/contributing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Caused by:
306306
failed to run: ~/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path ~/rust/src/bootstrap/Cargo.toml
307307
```
308308

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
310310
testing. In addition to that, you should read the [Overriding
311311
dependencies][overriding] section of the documentation.
312312

@@ -320,7 +320,7 @@ reveals what the problem is:
320320

321321
> Next up we need to ensure that our lock file is updated to use this new
322322
> 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
324324
> at ../path/to/uuid and then whenever crates.io is queried for versions of
325325
> uuid it'll also return the local version.
326326
>
@@ -363,12 +363,12 @@ You can find documentation style guidelines in [RFC 1574][rfc1574].
363363

364364
In many cases, you don't need a full `./x.py doc`, which will build the entire
365365
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,
367367
first try `./x.py doc --stage 0 src/libstd`. If that fails, or if you need to
368368
see the output from the latest version of `rustdoc`, use `--stage 1` instead of
369369
`--stage 0`. Results should appear in `build/$TARGET/crate-docs`.
370370

371-
[doc.rust-lang.org]: htts://doc.rust-lang.org
371+
[docs]: https://doc.rust-lang.org
372372

373373
You can also use `rustdoc` directly to check small fixes. For example,
374374
`rustdoc src/doc/reference.md` will render reference to `doc/reference.html`.

0 commit comments

Comments
 (0)