mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 16:18:11 +08:00
Upgrade to the Rust 2024 edition (#2367)
* Update to rust 2024 edition * Fixes * Clean up imports * Cargo fmt again --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
927d7dd9b2
commit
beb1c6ae64
@@ -25,7 +25,7 @@
|
||||
/// ```
|
||||
///
|
||||
macro_rules! actions {
|
||||
($($v:expr),* $(,)?) => {{
|
||||
($($v:expr_2021),* $(,)?) => {{
|
||||
vec![$(vec![$v.into()]),*]
|
||||
}};
|
||||
|
||||
@@ -42,7 +42,7 @@ macro_rules! actions {
|
||||
/// }
|
||||
/// ```
|
||||
macro_rules! advertise_actions {
|
||||
($($v:expr),* $(,)?) => {
|
||||
($($v:expr_2021),* $(,)?) => {
|
||||
fn actions(&self) -> $crate::utility_traits::ActionList {
|
||||
actions!($($v),*)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user