Skip to content

Commit

Permalink
apply fmt suggestion on GridRow map
Browse files Browse the repository at this point in the history
  • Loading branch information
mytdragon committed Jan 24, 2025
1 parent 16b3fe8 commit c2beaa0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/widget/grid/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,7 @@ where
}

/// Applies a transformation to the produced message of all the row's [`Element`].
pub fn map<B>(
self,
f: impl Fn(Message) -> B + 'a + Clone,
) -> GridRow<'a, B, Theme, Renderer>
pub fn map<B>(self, f: impl Fn(Message) -> B + 'a + Clone) -> GridRow<'a, B, Theme, Renderer>
where
Message: 'a,
Theme: 'a,
Expand Down

0 comments on commit c2beaa0

Please sign in to comment.