fix: 移除多余引用 — clippy 警告
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ impl Version {
|
|||||||
|
|
||||||
/// 对齐图案位置列表
|
/// 对齐图案位置列表
|
||||||
pub fn alignment_positions(self) -> &'static [u8] {
|
pub fn alignment_positions(self) -> &'static [u8] {
|
||||||
&ALIGNMENT_POSITIONS[self.0 as usize - 1]
|
ALIGNMENT_POSITIONS[self.0 as usize - 1]
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 获取该版本+级别的纠错信息
|
/// 获取该版本+级别的纠错信息
|
||||||
|
|||||||
Reference in New Issue
Block a user