Skip to content

Commit 6a9b2bb

Browse files
committed
shortened app intialization
1 parent a70af28 commit 6a9b2bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@ mod keyboard;
2222

2323
pub const TICK_MILIS: u64 = 500;
2424

25-
fn main() -> Result<()> {
25+
fn main() -> iced::Result {
2626

2727
font::set();
2828

29-
iced::application("Raiti", Raiti::update, Raiti::view)
29+
iced::application("Raiti - Touch typing tutor", Raiti::update, Raiti::view)
3030
.subscription(Raiti::subscription)
3131
.settings(iced::Settings {
3232
id: None,
3333
antialiasing: false,
3434
fonts: font::load(),
3535
..Default::default()
3636
})
37-
.run_with(Raiti::new)?;
38-
Ok(())
37+
.run_with(Raiti::new)
3938
}
4039

4140
#[derive(Default)]

0 commit comments

Comments
 (0)