Merge pull request #330 from ebfe/fix-build-master

uutils: work around rustc strangeness
This commit is contained in:
Heather 2014-07-01 14:23:47 +04:00
commit 2245339c01

View file

@ -23,7 +23,7 @@ fn util_map() -> HashMap<&str, fn(Vec<String>) -> int> {
fn uutrue(_: Vec<String>) -> int { 0 }
fn uufalse(_: Vec<String>) -> int { 1 }
let mut map = HashMap::new();
let mut map = HashMap::<&str, fn(Vec<String>) -> int>::new();
@UTIL_MAP@
map
}