Skip to content

Commit 4d4915a

Browse files
author
Jorge Aparicio
committed
librustdoc: fix fallout
1 parent cc242bc commit 4d4915a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustdoc/html/markdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ impl LangString {
393393
let mut seen_other_tags = false;
394394
let mut data = LangString::all_false();
395395

396-
let mut tokens = string.split(|c: char|
396+
let mut tokens = string.split(|&: c: char|
397397
!(c == '_' || c == '-' || c.is_alphanumeric())
398398
);
399399

src/librustdoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#![allow(unknown_features)]
2121
#![feature(globs, macro_rules, phase, slicing_syntax)]
22+
#![feature(unboxed_closures)]
2223

2324
extern crate arena;
2425
extern crate getopts;

0 commit comments

Comments
 (0)