From 5a7c89da0b0b3bc029b65ba49f10c15261b4efa7 Mon Sep 17 00:00:00 2001 From: A4-Tacks Date: Mon, 16 Sep 2024 13:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=B8=AD=E6=98=BE=E7=A4=BA=E5=B7=B2=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=A1=8C=E7=9A=84=E5=A2=9E=E5=8A=A0=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- tools/syntax/Cargo.toml | 2 +- tools/syntax/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2491b80..3188669 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -307,7 +307,7 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mindustry_logic_bang_lang" -version = "0.17.2" +version = "0.17.3" dependencies = [ "display_source", "logic_lint", @@ -569,7 +569,7 @@ dependencies = [ [[package]] name = "syntax" -version = "0.2.39" +version = "0.2.40" dependencies = [ "either", "itermaps", diff --git a/Cargo.toml b/Cargo.toml index 1fc2915..f1d6346 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mindustry_logic_bang_lang" -version = "0.17.2" +version = "0.17.3" edition = "2021" authors = ["A4-Tacks "] diff --git a/tools/syntax/Cargo.toml b/tools/syntax/Cargo.toml index 92e8b45..95d2fa3 100644 --- a/tools/syntax/Cargo.toml +++ b/tools/syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "syntax" -version = "0.2.39" +version = "0.2.40" 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 f9b987f..717c288 100644 --- a/tools/syntax/src/lib.rs +++ b/tools/syntax/src/lib.rs @@ -4164,7 +4164,7 @@ impl CompileMeta { pub fn debug_tag_codes(&self) -> Vec { self.parse_lines().lines().iter() - .map(ToString::to_string) + .map(|line| format!("{line:#}")) .collect() }