Compare commits

...

1 commit

Author SHA1 Message Date
b0a4ec1c11 refactor: split at whitespace #1
Some checks failed
cargo devel CI / cargo CI (push) Has been cancelled
2024-05-13 16:29:17 +02:00

View file

@ -26,8 +26,8 @@ fn main() {
exit(1);
}
};
let whole = whole.replace('\n', "");
for s in whole.split(' ') {
let split = whole.split_whitespace();
for s in split {
args.push(s.to_string());
}
}