Skip to content

Commit cb984ff

Browse files
Merge pull request #984 from mitchmindtree/fix_warnings
Fix warnings in CollapsibleArea
2 parents 65f5602 + 3d2ce58 commit cb984ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widget/collapsible_area.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl<'a> Widget for CollapsibleArea<'a> {
131131
let widget::UpdateArgs { id, state, style, rect, ui, .. } = args;
132132
let CollapsibleArea { text, mut is_open, .. } = self;
133133

134-
let (x, y, w, h) = rect.x_y_w_h();
134+
let (_, _, w, h) = rect.x_y_w_h();
135135
let color = style.color(&ui.theme);
136136
let border = style.border(&ui.theme);
137137
let border_color = style.border_color(&ui.theme);

0 commit comments

Comments
 (0)