Re-organize imports

This commit is contained in:
Alexandre Bury 2020-12-05 23:45:29 -08:00
parent bac285000d
commit 8003fc1773

View File

@ -1,8 +1,10 @@
use cursive::event::{EventResult, Key}; use cursive::{
use cursive::traits::With; align::HAlign,
use cursive::view::{scroll::Scroller, Scrollable}; event::{EventResult, Key},
use cursive::views::{Dialog, Panel, TextView}; traits::With,
use cursive::{align::HAlign, views::OnEventView}; view::{scroll::Scroller, Scrollable},
views::{Dialog, OnEventView, Panel, TextView},
};
fn main() { fn main() {
// Read some long text from a file. // Read some long text from a file.