X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Contributing.md;h=527041ab73748ddf41006da91fc490766d822dd3;hb=0f4ed08d0e3d180d66e46904126c3792f57668a9;hp=ac3659c5cc749e239e91641f02eb471daf4f5e44;hpb=7dba56f97b1add226c01759c381616f0b6a75a85;p=rust.git diff --git a/Contributing.md b/Contributing.md index ac3659c5cc7..527041ab737 100644 --- a/Contributing.md +++ b/Contributing.md @@ -108,7 +108,7 @@ 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](http://manishearth.github.io/rust-internals-docs/syntax/ast/index.html). +[docs](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/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