Skip to content

Commit 221bf2d

Browse files
Update to Rust Edition 2024
1 parent 1c2295b commit 221bf2d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "peniko"
33
version = "0.5.0"
44
license = "Apache-2.0 OR MIT"
5-
edition = "2021"
5+
edition = "2024"
66
description = "Primitive types for styling vector graphics"
77
keywords = ["graphics", "vector", "style"]
88
categories = ["graphics"]

src/gradient.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
use super::Extend;
55

66
use color::{
7-
cache_key::{BitEq, BitHash},
87
AlphaColor, ColorSpace, ColorSpaceTag, DynamicColor, HueDirection, OpaqueColor,
8+
cache_key::{BitEq, BitHash},
99
};
1010
use kurbo::Point;
1111
use smallvec::SmallVec;

src/impl_bytemuck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ unsafe impl bytemuck::Contiguous for Mix {
183183
#[cfg(test)]
184184
mod tests {
185185
use crate::{Compose, Extend, Fill, ImageAlphaType, ImageFormat, ImageQuality, Mix};
186-
use bytemuck::{checked::try_from_bytes, Contiguous, Zeroable};
186+
use bytemuck::{Contiguous, Zeroable, checked::try_from_bytes};
187187
use core::ptr;
188188

189189
#[test]

0 commit comments

Comments
 (0)