Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Feb 13, 2025
1 parent c86816b commit 875c5e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/kas-core/src/theme/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl<T: FormattableText> Layout for Text<T> {
}

fn draw(&mut self, mut draw: DrawCx) {
draw.text(self.rect, &self);
draw.text(self.rect, self);
}
}

Expand Down
4 changes: 2 additions & 2 deletions crates/kas-macros/src/make_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl Layout {
let _: kw::list = input.parse()?;
let _: Token![!] = input.parse()?;
let stor = core_gen.next();
let list = parse_layout_list(&input, core_gen)?;
let list = parse_layout_list(input, core_gen)?;
let _: Token![.] = input.parse()?;
let _: kw::with_direction = input.parse()?;
let args;
Expand Down Expand Up @@ -596,7 +596,7 @@ impl Pack {
kw,
paren_token,
hints: content.parse()?,
stor: core_gen.next().into(),
stor: core_gen.next(),
})
}

Expand Down

0 comments on commit 875c5e8

Please sign in to comment.