Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Checkpoint

Nathan Sobo1f9b52d5e15e
diff --git a/crates/storybook/src/gpui3/taffy.rs b/crates/storybook/src/gpui3/taffy.rs
index b11cbd08ff7..1efb4e69466 100644
--- a/crates/storybook/src/gpui3/taffy.rs
+++ b/crates/storybook/src/gpui3/taffy.rs
@@ -28,7 +28,7 @@ impl TaffyLayoutEngine {
}
pub fn layout(&mut self, id: LayoutId) -> Result<Layout> {
- todo!()
+ Ok(self.0.layout(id).map(Into::into)?)
}
}