diff --git a/Cargo.lock b/Cargo.lock index 9ddbe85..0faed3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,7 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mindustry_logic_bang_lang" -version = "0.15.9" +version = "0.15.10" dependencies = [ "display_source", "logic_lint", @@ -535,7 +535,7 @@ dependencies = [ [[package]] name = "syntax" -version = "0.2.17" +version = "0.2.18" dependencies = [ "either", "tag_code", diff --git a/Cargo.toml b/Cargo.toml index 3a09633..e7b9d41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mindustry_logic_bang_lang" -version = "0.15.9" +version = "0.15.10" edition = "2021" authors = ["A4-Tacks "] diff --git a/tools/syntax/Cargo.toml b/tools/syntax/Cargo.toml index 34180bc..6ace455 100644 --- a/tools/syntax/Cargo.toml +++ b/tools/syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "syntax" -version = "0.2.17" +version = "0.2.18" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tools/syntax/src/lib.rs b/tools/syntax/src/lib.rs index e5dd31e..f561ccf 100644 --- a/tools/syntax/src/lib.rs +++ b/tools/syntax/src/lib.rs @@ -150,7 +150,7 @@ impl From<&'_ Var> for Var { impl From for String { fn from(mut value: Var) -> Self { Rc::make_mut(&mut value.value); - Rc::into_inner(value.value).unwrap() + Rc::try_unwrap(value.value).unwrap() } } impl From for Rc {