From ab7d81aae00e88395f85b629489512b4a7bac064 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 10 Oct 2024 09:24:20 +0300 Subject: layout: Reduce field visibility The outside code isn't supposed to mess with the fields. --- src/layout/tile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/tile.rs') diff --git a/src/layout/tile.rs b/src/layout/tile.rs index 11c266d4..28b3ffd0 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -74,7 +74,7 @@ pub struct Tile { scale: f64, /// Configurable properties of the layout. - pub options: Rc, + pub(super) options: Rc, } niri_render_elements! { -- cgit