diff options
Diffstat (limited to 'examples/message.rs')
-rw-r--r-- | examples/message.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/message.rs b/examples/message.rs index a72ef00..6d1ea4d 100644 --- a/examples/message.rs +++ b/examples/message.rs @@ -1,11 +1,9 @@ // Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org> // SPDX-License-Identifier: MIT -use std::io::Result; - use dialog::DialogBox; -fn main() -> Result<()> { +fn main() -> dialog::Result<()> { dialog::Message::new("This is a message.").show()?; dialog::Message::new("This is a message.") |