proper error handling
This commit is contained in:
parent
b292421155
commit
1e98067548
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
use gtk::{
|
||||
glib::BoolError,
|
||||
prelude::{FrameExt, OrientableExt, ScrolledWindowExt, TextBufferExt, TextViewExt, WidgetExt},
|
||||
Inhibit,
|
||||
Orientation,
|
||||
|
@ -8,9 +9,8 @@ use gtk::{
|
|||
use relm::{connect, Relm, Widget};
|
||||
use relm_derive::{widget, Msg};
|
||||
|
||||
fn main() {
|
||||
let res = Win::run(());
|
||||
let _ = dbg!(res);
|
||||
fn main() -> Result<(), BoolError> {
|
||||
Win::run(())
|
||||
}
|
||||
|
||||
pub struct Model {
|
||||
|
|
Loading…
Reference in a new issue