diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-12-15 11:45:24 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-12-18 17:50:18 +0000 |
commit | b4e8a3cf8164b0bffbc97858ce4dede880f1baa9 (patch) | |
tree | cf3592993b112bd682981ec2d2da099919fc2f6f /src/typeset.rs | |
parent | e61c7b6b22882830fc5d2f271765b577ef7b1117 (diff) | |
download | subplot-b4e8a3cf8164b0bffbc97858ce4dede880f1baa9.tar.gz |
chore: Undo unnecessary allow attributes
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src/typeset.rs')
-rw-r--r-- | src/typeset.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/typeset.rs b/src/typeset.rs index 2904b6a..c421e58 100644 --- a/src/typeset.rs +++ b/src/typeset.rs @@ -90,10 +90,9 @@ fn step( inlines.push(space()); for part in m.parts() { - #[allow(unused_variables)] match part { PartialStep::UncapturedText(s) => inlines.push(uncaptured(s.text())), - PartialStep::CapturedText { name, text } => inlines.push(captured(text)), + PartialStep::CapturedText { text, .. } => inlines.push(captured(&text)), } } |