mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:46:01 +02:00
Try again with math-like externals (#4629)
* Try again with math-like externals * clippy 1.59 * clippy 1.59 * clippy 1.59
This commit is contained in:
@ -157,5 +157,5 @@ fn read_std(std: &[u8]) -> Vec<u8> {
|
||||
let out = String::from_utf8_lossy(std);
|
||||
let out = out.lines().collect::<Vec<_>>().join("\n");
|
||||
let out = out.replace("\r\n", "");
|
||||
out.replace("\n", "").into_bytes()
|
||||
out.replace('\n', "").into_bytes()
|
||||
}
|
||||
|
Reference in New Issue
Block a user