style: fmt

This commit is contained in:
Florian Dehau 2018-09-23 21:00:36 +02:00
parent aa85e597d9
commit d8e5f57d53
3 changed files with 3 additions and 5 deletions

View file

@ -456,8 +456,7 @@ where
coords: dataset.data,
color: dataset.style.fg,
});
})
.draw(graph_area, buf);
}).draw(graph_area, buf);
}
}
}

View file

@ -236,8 +236,7 @@ impl<'b> Widget for SelectableList<'b> {
} else {
Text::styled(item, self.style)
}
})
.skip(offset as usize);
}).skip(offset as usize);
List::new(items)
.block(self.block.unwrap_or_default())
.style(self.style)