summaryrefslogtreecommitdiff
path: root/library/src/text/shift.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/text/shift.rs')
-rw-r--r--library/src/text/shift.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/library/src/text/shift.rs b/library/src/text/shift.rs
index acd46d4e..20cfaa49 100644
--- a/library/src/text/shift.rs
+++ b/library/src/text/shift.rs
@@ -47,12 +47,7 @@ pub struct SubNode {
}
impl Show for SubNode {
- fn show(
- &self,
- vt: &mut Vt,
- _: &Content,
- styles: StyleChain,
- ) -> SourceResult<Content> {
+ fn show(&self, vt: &mut Vt, styles: StyleChain) -> SourceResult<Content> {
let body = self.body();
let mut transformed = None;
if self.typographic(styles) {
@@ -114,12 +109,7 @@ pub struct SuperNode {
}
impl Show for SuperNode {
- fn show(
- &self,
- vt: &mut Vt,
- _: &Content,
- styles: StyleChain,
- ) -> SourceResult<Content> {
+ fn show(&self, vt: &mut Vt, styles: StyleChain) -> SourceResult<Content> {
let body = self.body();
let mut transformed = None;
if self.typographic(styles) {