diff options
Diffstat (limited to 'examples/backend-dialog.rs')
-rw-r--r-- | examples/backend-dialog.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/backend-dialog.rs b/examples/backend-dialog.rs index b6be492..e1491f4 100644 --- a/examples/backend-dialog.rs +++ b/examples/backend-dialog.rs @@ -1,12 +1,10 @@ // Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org> // SPDX-License-Identifier: MIT -use std::io::Result; - use dialog::backends; use dialog::DialogBox; -fn main() -> Result<()> { +fn main() -> dialog::Result<()> { let mut backend = backends::Dialog::new(); dialog::Message::new("This is a message.") |