diff options
Diffstat (limited to '')
-rw-r--r-- | native/src/layout/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/layout/node.rs b/native/src/layout/node.rs index 3b63914e..acfd33bd 100644 --- a/native/src/layout/node.rs +++ b/native/src/layout/node.rs @@ -36,14 +36,14 @@ impl Node { /// /// [`Node`]: struct.Node.html /// [`Size`]: ../struct.Size.html - pub const fn size(&self) -> Size { + pub fn size(&self) -> Size { Size::new(self.bounds.width, self.bounds.height) } /// Returns the bounds of the [`Node`]. /// /// [`Node`]: struct.Node.html - pub const fn bounds(&self) -> Rectangle { + pub fn bounds(&self) -> Rectangle { self.bounds } |