Rename Hooks to Hook

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-09-03 17:56:01 +02:00
co-authored by Nathan Sobo
parent 2f0f6e210d
commit f0775aeebc
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ impl Sidebar {
container.add_child(
Flexible::new(
1.,
Hooks::new(
Hook::new(
ConstrainedBox::new(ChildView::new(active_item.id()).boxed())
.with_max_width(*self.width.borrow())
.boxed(),