Merge pull request #2632 from phansch/master

Link to official nightly documentation
This commit is contained in:
Nick Cameron 2018-04-20 06:56:03 +12:00 committed by GitHub
commit fe29b2a972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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