librustdoc: fix fallout

This commit is contained in:
Jorge Aparicio 2014-12-04 17:58:50 -05:00
parent cc242bcf47
commit 4d4915aa28
2 changed files with 2 additions and 1 deletions

View File

@ -393,7 +393,7 @@ impl LangString {
let mut seen_other_tags = false; let mut seen_other_tags = false;
let mut data = LangString::all_false(); let mut data = LangString::all_false();
let mut tokens = string.split(|c: char| let mut tokens = string.split(|&: c: char|
!(c == '_' || c == '-' || c.is_alphanumeric()) !(c == '_' || c == '-' || c.is_alphanumeric())
); );

View File

@ -19,6 +19,7 @@
#![allow(unknown_features)] #![allow(unknown_features)]
#![feature(globs, macro_rules, phase, slicing_syntax)] #![feature(globs, macro_rules, phase, slicing_syntax)]
#![feature(unboxed_closures)]
extern crate arena; extern crate arena;
extern crate getopts; extern crate getopts;