From fb091bfb8781ec46676a9a510b26d1d114b8b2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Tue, 16 Jun 2026 23:40:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E5=BC=95=E7=94=A8=20=E2=80=94=20clippy=20=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/version.rs b/core/src/version.rs index 7276efc..70c928c 100644 --- a/core/src/version.rs +++ b/core/src/version.rs @@ -37,7 +37,7 @@ impl Version { /// 对齐图案位置列表 pub fn alignment_positions(self) -> &'static [u8] { - &ALIGNMENT_POSITIONS[self.0 as usize - 1] + ALIGNMENT_POSITIONS[self.0 as usize - 1] } /// 获取该版本+级别的纠错信息