Skip to content

Commit 420de71

Browse files
committed
Clarify description of Table in docs
1 parent 729a09f commit 420de71

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

widget/src/table.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::core::{
1212

1313
/// Creates a new [`Table`] with the given columns and rows.
1414
///
15-
/// Columns can be created using the [`column`] function, while rows can be any
15+
/// Columns can be created using the [`column()`] function, while rows can be any
1616
/// iterator over some data type `T`.
1717
pub fn table<'a, 'b, T, Message, Theme, Renderer>(
1818
columns: impl IntoIterator<Item = Column<'a, 'b, T, Message, Theme, Renderer>>,
@@ -47,7 +47,7 @@ where
4747
}
4848
}
4949

50-
/// A grid-like visual representation of data of columns and rows.
50+
/// A grid-like visual representation of data distributed in columns and rows.
5151
#[allow(missing_debug_implementations)]
5252
pub struct Table<'a, Message, Theme = crate::Theme, Renderer = crate::Renderer>
5353
where
@@ -77,7 +77,7 @@ where
7777
{
7878
/// Creates a new [`Table`] with the given columns and rows.
7979
///
80-
/// Columns can be created using the [`column`] function, while rows can be any
80+
/// Columns can be created using the [`column()`] function, while rows can be any
8181
/// iterator over some data type `T`.
8282
pub fn new<'b, T>(
8383
columns: impl IntoIterator<

0 commit comments

Comments
 (0)