diff --git a/src/app.rs b/src/app.rs index b4527838..cdbd4ada 100644 --- a/src/app.rs +++ b/src/app.rs @@ -127,7 +127,7 @@ impl App { self.index.draw(f, left_chunks[1]); self.diff.draw(f, chunks[1]); - self.draw_commands(f, chunks_main[2], self.commands()); + Self::draw_commands(f, chunks_main[2], self.commands()); self.commit.draw(f, f.size()); self.help.draw(f, f.size()); @@ -352,7 +352,6 @@ impl App { } fn draw_commands( - &self, f: &mut Frame, r: Rect, cmds: Vec,