Minor fixes in cli (#1837)

* not using bin, until needed

also removes an unnecessary warning!

* removed redundant line

maybe, it was readability?

* using same `if let` pattern as below

* to `get_bin(args.bin)?` with `Ok(())` at last

* unreachable!
This commit is contained in:
hem1t authored and GitHub committed 2024-01-16 07:21:01 -06:00
1 parent 0feca31a4a
commit 1db8bd7edd
3 files changed
+40 -40

No files matched your search

-1
View File
@@ -25,7 +25,6 @@ pub fn set_up_logging() {
colors_line.get_color(&record.level()).to_fg_str()
),
level = colors_level.color(record.level()),
message = message,
));
})
.level(match std::env::var("DIOXUS_LOG") {