This is our monthly toolchain upgrade to the latest stable version. Since the primary artifacts of this repository are binaries, we want to be tracking Rust compiler releases closely in the event a stdlib vulnerability is found. We do not pin to "stable", however, since that has caused pipeline breakage when some code patterns are made illegal (like in the upgrade from 1.47 to 1.48 ^0) or, more often, clippy lints are added.
clippy::bool_to_int_with_if: replace if ${BOOL} { 1 } else { 0 } with ${BOOL}.into()
This is our monthly toolchain upgrade to the latest stable version. Since the primary artifacts of this repository are binaries, we want to be tracking Rust compiler releases closely in the event a stdlib vulnerability is found. We do not pin to "stable", however, since that has caused pipeline breakage when some code patterns are made illegal (like in the upgrade from 1.47 to 1.48 ^0) or, more often, clippy lints are added.
clippy::bool_to_int_with_if
: replaceif ${BOOL} { 1 } else { 0 }
with${BOOL}.into()
clippy::explicit_auto_deref
: remove redundant dereferencesclippy::manual_string_new
: replace"".to_owned()
withString::new()
clippy::needless_borrow
: remove unnecessary borrowsSwitching to
let .. else
where appropriate was skipped in the interest of keeping the changeset small.Namely, the point on
mem::uninitialized
.