From 420de7150d8a139f0c3374051b036bc789837f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Fri, 18 Jul 2025 21:22:21 +0200 Subject: [PATCH] Clarify description of `Table` in docs --- widget/src/table.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget/src/table.rs b/widget/src/table.rs index c3ce0879..373f93cc 100644 --- a/widget/src/table.rs +++ b/widget/src/table.rs @@ -12,7 +12,7 @@ use crate::core::{ /// Creates a new [`Table`] with the given columns and rows. /// -/// Columns can be created using the [`column`] function, while rows can be any +/// Columns can be created using the [`column()`] function, while rows can be any /// iterator over some data type `T`. pub fn table<'a, 'b, T, Message, Theme, Renderer>( columns: impl IntoIterator>, @@ -47,7 +47,7 @@ where } } -/// A grid-like visual representation of data of columns and rows. +/// A grid-like visual representation of data distributed in columns and rows. #[allow(missing_debug_implementations)] pub struct Table<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer> where @@ -77,7 +77,7 @@ where { /// Creates a new [`Table`] with the given columns and rows. /// - /// Columns can be created using the [`column`] function, while rows can be any + /// Columns can be created using the [`column()`] function, while rows can be any /// iterator over some data type `T`. pub fn new<'b, T>( columns: impl IntoIterator<