fornwall / rust-script

Run Rust files and expressions as scripts without any setup or compilation step.
https://rust-script.org
Apache License 2.0
1.21k stars 41 forks source link

surpress warnings when specifying `--loop` and `--loop --count` #45

Closed h-mikisato closed 2 years ago

h-mikisato commented 2 years ago

When specifying --loop and --loop --count options, some compile warning is shown while compile. This PR is for surpressing them.

Target warnings are:

These are tested in rustc 1.57.0.

Thank you.

fornwall commented 2 years ago

Thanks! This is now published in version 0.20.0.