aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-inventory')
-rw-r--r--azalea-inventory/azalea-inventory-macros/Cargo.toml6
-rw-r--r--azalea-inventory/azalea-inventory-macros/src/parse_macro.rs4
2 files changed, 5 insertions, 5 deletions
diff --git a/azalea-inventory/azalea-inventory-macros/Cargo.toml b/azalea-inventory/azalea-inventory-macros/Cargo.toml
index ee41c6b6..56590aec 100644
--- a/azalea-inventory/azalea-inventory-macros/Cargo.toml
+++ b/azalea-inventory/azalea-inventory-macros/Cargo.toml
@@ -12,6 +12,6 @@ proc-macro = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-proc-macro2 = "1.0.47"
-quote = "1.0.21"
-syn = "1.0.104"
+proc-macro2 = "1.0.64"
+quote = "1.0.29"
+syn = "2.0.25"
diff --git a/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs b/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
index 8eada4ec..6aafe16f 100644
--- a/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
+++ b/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
@@ -39,7 +39,7 @@ impl Parse for Menu {
let content;
braced!(content in input);
let fields = content
- .parse_terminated::<Field, Token![,]>(Field::parse)?
+ .parse_terminated(Field::parse, Token![,])?
.into_iter()
.collect();
@@ -61,7 +61,7 @@ pub struct DeclareMenus {
impl Parse for DeclareMenus {
fn parse(input: ParseStream) -> Result<Self> {
let menus = input
- .parse_terminated::<Menu, Token![,]>(Menu::parse)?
+ .parse_terminated(Menu::parse, Token![,])?
.into_iter()
.collect();
Ok(Self { menus })