mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 23:32:39 +00:00
Merge pull request #330 from ebfe/fix-build-master
uutils: work around rustc strangeness
This commit is contained in:
commit
2245339c01
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue