mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Generated
+2
-2
@@ -935,7 +935,7 @@ dependencies = [
|
||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"uucore 0.0.1",
|
||||
"vec_map 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"vec_map 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1045,7 +1045,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vec_map"
|
||||
version = "0.4.0"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ path = "tr.rs"
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
bit-set = "*"
|
||||
vec_map = "*"
|
||||
vec_map = "0.6.0"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ fn tr<'a>(set1: ExpandSet<'a>, mut set2: ExpandSet<'a>) {
|
||||
let mut chars = buf.chars();
|
||||
|
||||
while let Some(char) = chars.next() {
|
||||
let trc = match map.get(&(char as usize)) {
|
||||
let trc = match map.get(char as usize) {
|
||||
Some(t) => *t,
|
||||
None => char,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user