Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion color/src/floatfuncs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// libm.
#![cfg_attr(
not(feature = "std"),
allow(dead_code, reason = "abs and copysign were added to core in 1.84")
expect(dead_code, reason = "abs and copysign were added to core in 1.84")
)]

//! Shims for math functions that ordinarily come from std.
Expand Down
2 changes: 1 addition & 1 deletion color/src/impl_bytemuck.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 the Color Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

#![allow(unsafe_code, reason = "unsafe is required for bytemuck unsafe impls")]
#![expect(unsafe_code, reason = "unsafe is required for bytemuck unsafe impls")]

use crate::{
cache_key::CacheKey, AlphaColor, ColorSpace, ColorSpaceTag, HueDirection, OpaqueColor,
Expand Down
Loading