Skip to content

Commit 5ec819a

Browse files
[ci] Roll pinned nightly toolchain (#2545)
gherrit-pr-id: I2fa507de6315da54afcf4e371b537db6eabdeaa1
1 parent a644e0c commit 5ec819a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
6060
[package.metadata.ci]
6161
# The versions of the stable and nightly compiler toolchains to use in CI.
6262
pinned-stable = "1.87.0"
63-
pinned-nightly = "nightly-2025-05-16"
63+
pinned-nightly = "nightly-2025-05-19"
6464

6565
[package.metadata.docs.rs]
6666
all-features = true

src/byteorder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,15 +882,15 @@ macro_rules! define_float_conversion {
882882
($ty:ty, $bits:ident, $bytes:expr, $from:ident, $to:ident) => {
883883
// Clippy: The suggestion of using `from_bits()` instead doesn't work
884884
// because `from_bits` is not const-stable on our MSRV.
885-
#[allow(clippy::transmute_int_to_float)]
885+
#[allow(clippy::unnecessary_transmutes)]
886886
pub(crate) const fn $from(bytes: [u8; $bytes]) -> $ty {
887887
transmute!($bits::$from(bytes))
888888
}
889889

890890
pub(crate) const fn $to(f: $ty) -> [u8; $bytes] {
891891
// Clippy: The suggestion of using `f.to_bits()` instead doesn't
892892
// work because `to_bits` is not const-stable on our MSRV.
893-
#[allow(clippy::transmute_float_to_int)]
893+
#[allow(clippy::unnecessary_transmutes)]
894894
let bits: $bits = transmute!(f);
895895
bits.$to()
896896
}

0 commit comments

Comments
 (0)