From 35c3b13bdd694d67d937f347d11f0f0a6d165d40 Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Wed, 31 Jul 2024 15:34:36 +0800 Subject: [PATCH] Fix typo in table --- crates/ui/src/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/table.rs b/crates/ui/src/table.rs index 3272a626..cb80fb3d 100644 --- a/crates/ui/src/table.rs +++ b/crates/ui/src/table.rs @@ -536,7 +536,7 @@ where /// Render the column header. /// The children must be one by one items. - /// Becuase the horizontal scroll handle will use the child_item_bounds to + /// Because the horizontal scroll handle will use the child_item_bounds to /// calculate the item position for itself's `scroll_to_item` method. fn render_th(&self, col_ix: usize, cx: &mut ViewContext) -> impl IntoElement { let entity_id = cx.entity_id();