Link to official nightly documentation

Since https://github.com/rust-lang/rust-central-station/pull/40 has been
merged, we have a stable location for the nightly docs.
This commit is contained in:
Philipp Hansch 2018-04-19 08:22:13 +02:00
parent dd807e2465
commit d93ae12c52
No known key found for this signature in database
GPG Key ID: B6FA06A6E0E2665B

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