diff options
| author | Michael Murphy <m.b.murphy15@gmail.com> | 2021-06-16 04:33:34 +0100 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-07-25 22:53:32 -0500 |
| commit | e634a6f9a8ad9435f2d9f6bbfb6a8eb018ee8e3f (patch) | |
| tree | 00385eaac8b64cbcc2caee8c1a34efff4c88f54b | |
| parent | 486e774fbfbbe2be98cdd2ebdbfc3e8b92fc2a95 (diff) | |
| download | rust-e634a6f9a8ad9435f2d9f6bbfb6a8eb018ee8e3f.tar.gz rust-e634a6f9a8ad9435f2d9f6bbfb6a8eb018ee8e3f.zip | |
Updating outdated links (#4869)
* Updating outdated links Updating the links to the docs and source code for `ast.rs`. Seems like it was moved to a new crate at some point. * Updating more outdated links This time, the links to the `fmt-rfcs` repository, which is now owned by `rust-dev-tools` (although GitHub was redirecting anyway). * Update Contributing.md Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com> Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
| -rw-r--r-- | Contributing.md | 4 | ||||
| -rw-r--r-- | README.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Contributing.md b/Contributing.md index 1b77dad11f0..a108195beb9 100644 --- a/Contributing.md +++ b/Contributing.md @@ -138,8 +138,8 @@ format. There are different nodes for every kind of item and expression in Rust. For more details see the source code in the compiler - -[ast.rs](https://dxr.mozilla.org/rust/source/src/libsyntax/ast.rs) - and/or the -[docs](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/ast/index.html). +[ast.rs](https://github.com/rust-lang/rust/blob/master/compiler/rustc_ast/src/ast.rs) - and/or the +[docs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/ast/index.html). Many nodes in the AST (but not all, annoyingly) have a `Span`. A `Span` is a range in the source code, it can easily be converted to a snippet of source diff --git a/README.md b/README.md index 500a9f9a37c..9c7a1c4bc34 100644 --- a/README.md +++ b/README.md @@ -230,5 +230,5 @@ Apache License (Version 2.0). See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details. [rust]: https://github.com/rust-lang/rust -[fmt rfcs]: https://github.com/rust-lang-nursery/fmt-rfcs -[style guide]: https://github.com/rust-lang-nursery/fmt-rfcs/blob/master/guide/guide.md +[fmt rfcs]: https://github.com/rust-dev-tools/fmt-rfcs +[style guide]: https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md |
