Closed h-mikisato closed 2 years ago
When specifying --loop and --loop --count options, some compile warning is shown while compile. This PR is for surpressing them.
--loop
--loop --count
Target warnings are:
std::io::prelude
$ cat now.ers | rust-script --count --loop "|l,n| println!(\"{:>6}: {}\", n, l.trim_right())"
dyn
output_any
stdin
These are tested in rustc 1.57.0.
Thank you.
Thanks! This is now published in version 0.20.0.
When specifying
--loop
and--loop --count
options, some compile warning is shown while compile. This PR is for surpressing them.Target warnings are:
std::io::prelude
in script$ cat now.ers | rust-script --count --loop "|l,n| println!(\"{:>6}: {}\", n, l.trim_right())"
dyn
" atoutput_any
variablestdin
variableThese are tested in rustc 1.57.0.
Thank you.