From 0ea4cf1d22418a11a18132b639b315c87650421d Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 27 Feb 2025 01:28:16 +0100 Subject: [PATCH] Fix name typo --- showbits-common/src/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/showbits-common/src/node.rs b/showbits-common/src/node.rs index 645ff2f..7170138 100644 --- a/showbits-common/src/node.rs +++ b/showbits-common/src/node.rs @@ -158,8 +158,8 @@ macro_rules! layout_setter_rect { self } - pub fn [](mut self, left: $type) -> Self { - self.layout.$name.bottom = left; + pub fn [](mut self, bottom: $type) -> Self { + self.layout.$name.bottom = bottom; self }