summaryrefslogtreecommitdiffstats
path: root/pure/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pure/src/widget.rs')
-rw-r--r--pure/src/widget.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pure/src/widget.rs b/pure/src/widget.rs
index 62f9d95b..a12d6fad 100644
--- a/pure/src/widget.rs
+++ b/pure/src/widget.rs
@@ -1,4 +1,5 @@
pub mod image;
+pub mod tree;
mod button;
mod checkbox;
@@ -14,7 +15,6 @@ mod space;
mod text;
mod text_input;
mod toggler;
-mod tree;
pub use button::Button;
pub use checkbox::Checkbox;
@@ -104,7 +104,7 @@ pub trait Widget<Message, Renderer> {
}
fn overlay<'a>(
- &'a mut self,
+ &'a self,
_state: &'a mut Tree,
_layout: Layout<'_>,
_renderer: &Renderer,