From d4118864072f6462eb67ba6ef820ef43118b22e4 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 20 Nov 2022 20:59:09 +0300 Subject: [PATCH] Remove redundant `pub` --- color/paintbrush.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/color/paintbrush.v b/color/paintbrush.v index be9058d..aa2fdd7 100644 --- a/color/paintbrush.v +++ b/color/paintbrush.v @@ -41,7 +41,7 @@ mut: disabled bool } -pub fn (p &BrushImpl) render(msg string) string { +fn (p &BrushImpl) render(msg string) string { return if no_color || p.disabled { msg } else { @@ -58,6 +58,6 @@ pub fn (p &BrushImpl) render(msg string) string { } } -pub fn (mut p &BrushImpl) set_disabled(value bool) { +fn (mut p &BrushImpl) set_disabled(value bool) { p.disabled = value }