mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 03:36:18 +00:00
all: remove accept_{any, complete, lossy}
and ConversionResult
Outside of tests, only `accept_any` was used, meaning that this unnecessarily complicated the code. The behaviour of `accept_any` is now the default (and only) option.
This commit is contained in:
parent
0ed8b97a3f
commit
5621502a95
48 changed files with 74 additions and 216 deletions
|
@ -1021,8 +1021,7 @@ impl UCommand {
|
|||
let strings = args
|
||||
.iter()
|
||||
.map(|s| s.as_ref().to_os_string())
|
||||
.collect_str(InvalidEncodingHandling::Ignore)
|
||||
.accept_any();
|
||||
.collect_str(InvalidEncodingHandling::Ignore);
|
||||
|
||||
for s in strings {
|
||||
self.comm_string.push(' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue