Skip to content

Commit 24be0b4

Browse files
committed
refactor: replace unwrap with expect
1 parent 8097b9f commit 24be0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async fn main() -> eframe::Result<()> {
1313
.with_min_inner_size([400.0, 400.0])
1414
.with_icon(
1515
eframe::icon_data::from_png_bytes(&include_bytes!("../assets/icon-256.png")[..])
16-
.unwrap(),
16+
.expect("Failed to load icon"),
1717
),
1818
..Default::default()
1919
};

0 commit comments

Comments
 (0)