diff options
| author | Jonathan Price <jon.mark.price@gmail.com> | 2016-06-28 13:06:15 -0500 |
|---|---|---|
| committer | Jonathan Price <jon.mark.price@gmail.com> | 2016-06-28 13:06:15 -0500 |
| commit | 763cec21f0b030c0d811bea3263b46361e99a14f (patch) | |
| tree | 89118a5ff351834e68fce30aee899551f0706b32 /src/doc | |
| parent | 8eb56e698814c5a626b9c935162ff8487bca0774 (diff) | |
| parent | ea0dc9297283daff6486807f43e190b4eb561412 (diff) | |
| download | rust-763cec21f0b030c0d811bea3263b46361e99a14f.tar.gz rust-763cec21f0b030c0d811bea3263b46361e99a14f.zip | |
Merging my book edits recent commits.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/compiler-plugins.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/compiler-plugins.md b/src/doc/book/compiler-plugins.md index 5b75ad6cfa8..8426d5a6265 100644 --- a/src/doc/book/compiler-plugins.md +++ b/src/doc/book/compiler-plugins.md @@ -45,11 +45,11 @@ extern crate syntax; extern crate rustc; extern crate rustc_plugin; -use syntax::codemap::Span; use syntax::parse::token; use syntax::ast::TokenTree; use syntax::ext::base::{ExtCtxt, MacResult, DummyResult, MacEager}; use syntax::ext::build::AstBuilder; // trait for expr_usize +use syntax_pos::Span; use rustc_plugin::Registry; fn expand_rn(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) |
