Fix clippy warning
This commit is contained in:
parent
2c7888fa41
commit
77b4f825c9
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ impl<E> Widget<E> for Editor<'_> {
|
||||||
Ok(Size::new(width, height))
|
Ok(Size::new(width, height))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn draw(mut self, frame: &mut Frame) -> Result<(), E> {
|
fn draw(self, frame: &mut Frame) -> Result<(), E> {
|
||||||
let size = frame.size();
|
let size = frame.size();
|
||||||
let indices = self.indices(frame.widthdb(), Some(size.width));
|
let indices = self.indices(frame.widthdb(), Some(size.width));
|
||||||
let rows = self.rows(&indices);
|
let rows = self.rows(&indices);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue