Skip to content

Commit

Permalink
Merge pull request #227 from project-gauntlet/fix-grid-fn-signature
Browse files Browse the repository at this point in the history
Fix broken grid generic parameters
  • Loading branch information
genusistimelord authored Apr 2, 2024
2 parents 7311ccc + fed6c93 commit 132c854
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/widgets/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ where
///
/// [`Grid`]: crate::grid::Grid
#[must_use]
pub fn grid<Message, Renderer>(
rows: Vec<crate::GridRow<'_, Message, Renderer>>,
) -> crate::Grid<'_, Message, Renderer>
pub fn grid<Message, Theme, Renderer>(
rows: Vec<crate::GridRow<Message, Theme, Renderer>>,
) -> crate::Grid<Message, Theme, Renderer>
where
Renderer: renderer::Renderer,
{
Expand Down

0 comments on commit 132c854

Please sign in to comment.