Skip to content

Commit 851acd5

Browse files
committed
fix compiler warning for unused var in widglets
1 parent b321e98 commit 851acd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/widglets/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn heading<'a>(
7373

7474
widget::text(text)
7575
.size(iced::Settings::default().default_text_size * font_mult)
76-
.style(move |theme: &iced::Theme| {
76+
.style(move |_theme: &iced::Theme| {
7777
let c = match level {
7878
HeadingLevel::Subheading => Some(iced::color!(140, 140, 150)),
7979
_ => None,

0 commit comments

Comments
 (0)