From ec873657fd1bc814ca2cca3ee909f61dde9af75c Mon Sep 17 00:00:00 2001 From: Takayuki Maeda Date: Sat, 11 Sep 2021 00:59:59 +0900 Subject: [PATCH] remov set --- src/components/debug.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/debug.rs b/src/components/debug.rs index 5a753d6..d91e782 100644 --- a/src/components/debug.rs +++ b/src/components/debug.rs @@ -26,13 +26,6 @@ impl DebugComponent { } } -impl DebugComponent { - pub fn set(&mut self, error: String) -> anyhow::Result<()> { - self.msg = error; - self.show() - } -} - impl DrawableComponent for DebugComponent { fn draw(&mut self, f: &mut Frame, _area: Rect, _focused: bool) -> Result<()> { if true {