mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +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
|
||||
.items
|
||||
.into_iter()
|
||||
.map(|item| convert_grid_track_item(item))
|
||||
.map(convert_grid_track_item)
|
||||
.collect();
|
||||
}
|
||||
Property::GridTemplateRows(TrackSizing::TrackList(track_list)) => {
|
||||
style.grid_template_rows = track_list
|
||||
.items
|
||||
.into_iter()
|
||||
.map(|item| convert_grid_track_item(item))
|
||||
.map(convert_grid_track_item)
|
||||
.collect();
|
||||
}
|
||||
Property::GridAutoColumns(grid::TrackSizeList(track_size_list)) => {
|
||||
style.grid_auto_columns = track_size_list
|
||||
.into_iter()
|
||||
.map(|item| convert_grid_track_size(item))
|
||||
.map(convert_grid_track_size)
|
||||
.collect();
|
||||
}
|
||||
Property::GridAutoRows(grid::TrackSizeList(track_size_list)) => {
|
||||
style.grid_auto_rows = track_size_list
|
||||
.into_iter()
|
||||
.map(|item| convert_grid_track_size(item))
|
||||
.map(convert_grid_track_size)
|
||||
.collect();
|
||||
}
|
||||
Property::GridRow(grid_row) => {
|
||||
|
|
Loading…
Reference in a new issue