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:
parent
995d290847
commit
cd6f617bfc
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…
Add table
Add a link
Reference in a new issue