From a20d46fdf75144ce608ad991dc3beb14f0423d93 Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Fri, 18 Dec 2020 23:12:46 +0900 Subject: [PATCH] Fix broken links in Contributing.md --- Contributing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Contributing.md b/Contributing.md index 8ff682aa1ef..dbfe0c08842 100644 --- a/Contributing.md +++ b/Contributing.md @@ -200,8 +200,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