diff options
author | Martin Fischer <martin@push-f.com> | 2022-10-28 14:03:05 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-10-28 14:03:05 +0200 |
commit | 95aa0534320a6b077a6063b612a099dd3d9d4145 (patch) | |
tree | cd6e0ab7de62bb8b53a2afed9a184f3adcb9e5f2 /src/lua | |
parent | 6d2b42da54335682bf5ba25277323daafca16808 (diff) |
refactor: some linter fixes
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/template.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/template.rs b/src/lua/template.rs index de13481..99dfded 100644 --- a/src/lua/template.rs +++ b/src/lua/template.rs @@ -94,9 +94,9 @@ impl<'a> ParserState<'a> { match tok { MarkerToken::StripMarker => match usize::from_str_radix(&lex.slice()[6..11], 16) { Ok(idx) => { - render(&self.substitutions[idx], &mut out); + let _ = render(&self.substitutions[idx], &mut out); } - Err(e) => out.push_str(lex.slice()), + Err(_) => out.push_str(lex.slice()), }, MarkerToken::Other => out.push_str(lex.slice()), } |