diff options
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/tree.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-view/src/tree.rs b/helix-view/src/tree.rs index 784fea3f..a5b59a79 100644 --- a/helix-view/src/tree.rs +++ b/helix-view/src/tree.rs @@ -57,6 +57,12 @@ impl Container { } } +impl Default for Container { + fn default() -> Self { + Self::new() + } +} + impl Tree { pub fn new(area: Rect) -> Self { let root = Node::container(); |