Closed SafariMonkey closed 3 years ago
Fixes some Rust warnings:
panic!(format!(...))
panic!
mem::replace
Also fixes some "issues" in the Bash scripts, mostly reported by ShellCheck:
set -e
Thanks @SafariMonkey!
Fixes some Rust warnings:
panic!(format!(...))
is redundant, aspanic!
supports formattingmem::replace
expects its return value to be used, but it's dropped - I changed this to an assignment, but I'm not 100% sure if this is equivalentAlso fixes some "issues" in the Bash scripts, mostly reported by ShellCheck:
set -e
and such isn't being used