diff options
Diffstat (limited to 'examples/custom_widget/src/main.rs')
-rw-r--r-- | examples/custom_widget/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_widget/src/main.rs b/examples/custom_widget/src/main.rs index e0a23541..32a14cbe 100644 --- a/examples/custom_widget/src/main.rs +++ b/examples/custom_widget/src/main.rs @@ -43,7 +43,7 @@ mod circle { fn layout( &self, - _tree: &widget::Tree, + _tree: &mut widget::Tree, _renderer: &Renderer, _limits: &layout::Limits, ) -> layout::Node { |