Skip to content

Commit

Permalink
chore: &Block implements Widget already
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Feb 2, 2024
1 parent 1d17554 commit 9ec8aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl Surround {
}

fn render(&self, buf: &mut Buffer) {
self.block.clone().render(self.area, buf);
(&self.block).render(self.area, buf);
}
}

Expand Down

0 comments on commit 9ec8aec

Please sign in to comment.