mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
Fix clippy lints
This commit is contained in:
parent
f4b828b949
commit
287227bf48
1 changed files with 4 additions and 4 deletions
|
@ -281,26 +281,26 @@ pub fn apply_layout_attributes_cfg(
|
||||||
style.grid_template_columns = track_list
|
style.grid_template_columns = track_list
|
||||||
.items
|
.items
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|item| convert_grid_track_item(item))
|
.map(convert_grid_track_item)
|
||||||
.collect();
|
.collect();
|
||||||
}
|
}
|
||||||
Property::GridTemplateRows(TrackSizing::TrackList(track_list)) => {
|
Property::GridTemplateRows(TrackSizing::TrackList(track_list)) => {
|
||||||
style.grid_template_rows = track_list
|
style.grid_template_rows = track_list
|
||||||
.items
|
.items
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|item| convert_grid_track_item(item))
|
.map(convert_grid_track_item)
|
||||||
.collect();
|
.collect();
|
||||||
}
|
}
|
||||||
Property::GridAutoColumns(grid::TrackSizeList(track_size_list)) => {
|
Property::GridAutoColumns(grid::TrackSizeList(track_size_list)) => {
|
||||||
style.grid_auto_columns = track_size_list
|
style.grid_auto_columns = track_size_list
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|item| convert_grid_track_size(item))
|
.map(convert_grid_track_size)
|
||||||
.collect();
|
.collect();
|
||||||
}
|
}
|
||||||
Property::GridAutoRows(grid::TrackSizeList(track_size_list)) => {
|
Property::GridAutoRows(grid::TrackSizeList(track_size_list)) => {
|
||||||
style.grid_auto_rows = track_size_list
|
style.grid_auto_rows = track_size_list
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|item| convert_grid_track_size(item))
|
.map(convert_grid_track_size)
|
||||||
.collect();
|
.collect();
|
||||||
}
|
}
|
||||||
Property::GridRow(grid_row) => {
|
Property::GridRow(grid_row) => {
|
||||||
|
|
Loading…
Reference in a new issue