Skip to content

Commit abfbbdb

Browse files
authored
Add support for Rust 2024 edition (#95)
1 parent 0925e0f commit abfbbdb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cm.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ pub enum Edition {
577577
/// Edition 2021
578578
#[serde(rename = "2021")]
579579
E2021,
580+
/// Edition 2024
581+
#[serde(rename = "2024")]
582+
E2024,
580583
}
581584

582585
impl Edition {
@@ -586,6 +589,7 @@ impl Edition {
586589
Self::E2015 => "2015",
587590
Self::E2018 => "2018",
588591
Self::E2021 => "2021",
592+
Self::E2024 => "2024",
589593
}
590594
}
591595
}

0 commit comments

Comments
 (0)