about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-11 12:46:32 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-07 13:50:12 +0100
commit9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf (patch)
treee1ac4f40d23f1b1600d24362bc53f1536eb977c7 /src/librustdoc/html
parent53a50d4e4fdb0b242d637142d0b2d64e7054c35b (diff)
downloadrust-9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf.tar.gz
rust-9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf.zip
syntax::parser::token -> syntax::token
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/highlight.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/highlight.rs b/src/librustdoc/html/highlight.rs
index 88ba13f2796..4bd72f7e61c 100644
--- a/src/librustdoc/html/highlight.rs
+++ b/src/librustdoc/html/highlight.rs
@@ -13,7 +13,7 @@ use std::io::prelude::*;
 
 use syntax::source_map::SourceMap;
 use syntax::parse::lexer;
-use syntax::parse::token::{self, Token};
+use syntax::token::{self, Token};
 use syntax::sess::ParseSess;
 use syntax::symbol::{kw, sym};
 use syntax_pos::{Span, FileName};