Skip to content

Commit 0fae3d8

Browse files
committed
fix: add serde rename for 2024 Rust edition in RustConfig
1 parent af0aa83 commit 0fae3d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ pub struct RustConfig {
671671
/// Rust edition to use for the code.
672672
pub enum RustEdition {
673673
/// The 2024 edition of Rust
674+
#[serde(rename = "2024")]
674675
E2024,
675676
/// The 2021 edition of Rust
676677
#[serde(rename = "2021")]

0 commit comments

Comments
 (0)