diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-20 21:54:29 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-20 21:57:49 +0800 |
| commit | 9a60751a901f568bdeb154c4115235d4f3a0f8b9 (patch) | |
| tree | 65df323f6478bae51473a3d6471df39a596ce9c5 /systems/sheet/src/mapping/parse.rs | |
| parent | a9e5c086584d3e697188be7003f564e7e2137135 (diff) | |
Apply clippy suggestions and improve code quality
Diffstat (limited to 'systems/sheet/src/mapping/parse.rs')
| -rw-r--r-- | systems/sheet/src/mapping/parse.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/systems/sheet/src/mapping/parse.rs b/systems/sheet/src/mapping/parse.rs index e203c96..7460ffd 100644 --- a/systems/sheet/src/mapping/parse.rs +++ b/systems/sheet/src/mapping/parse.rs @@ -178,9 +178,7 @@ impl TryFrom<&str> for LocalMapping { Ok(LocalMapping { val, source, - forward: LocalMappingForward::Ref { - sheet_name: sheet_name, - }, + forward: LocalMappingForward::Ref { sheet_name }, }) } _ => Err(ParseMappingError::InvalidMapping), |
