Update to rust 2024
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "xmpd-gui"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
readme="README.md"
|
||||
authors.workspace = true
|
||||
version.workspace = true
|
||||
|
||||
@@ -17,7 +17,7 @@ macro_rules! component_register {
|
||||
}
|
||||
|
||||
macro_rules! handle_error_ui {
|
||||
($val:expr) => {
|
||||
($val:expr_2021) => {
|
||||
match $val {
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
@@ -37,7 +37,7 @@ macro_rules! handle_error_ui {
|
||||
}
|
||||
|
||||
macro_rules! handle_option {
|
||||
($reason:expr, $val:expr) => {
|
||||
($reason:expr_2021, $val:expr_2021) => {
|
||||
if let Some(v) = $val {
|
||||
v
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user