From 546c052d225d41cd31f610e87a20f15cd0fa8e3c Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 16 Apr 2016 04:12:02 +0300 Subject: syntax: Get rid of token::IdentStyle --- src/librustdoc/html/highlight.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustdoc') diff --git a/src/librustdoc/html/highlight.rs b/src/librustdoc/html/highlight.rs index 7ca4703a2e1..2f0ae540fbf 100644 --- a/src/librustdoc/html/highlight.rs +++ b/src/librustdoc/html/highlight.rs @@ -147,7 +147,7 @@ fn write_source(sess: &parse::ParseSess, } // keywords are also included in the identifier set - token::Ident(ident, _is_mod_sep) => { + token::Ident(ident) => { match &*ident.name.as_str() { "ref" | "mut" => "kw-2", -- cgit 1.4.1-3-g733a5