1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

uutils: work around rustc strangeness

This commit is contained in:
Michael Gehring 2014-07-01 11:20:14 +02:00
parent 995d290847
commit cd6f617bfc

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
}