Skip to content

Commit

Permalink
Rustfmt!
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaiid committed Dec 19, 2024
1 parent e500f99 commit 40d179e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,9 @@ fn load_config(filename: &str) -> String {
if std::path::Path::new(filename).exists() {
std::fs::read_to_string(filename).unwrap()
} else {
std::str::from_utf8(
Asset::get(filename)
.unwrap()
.data
.as_ref()
)
.unwrap()
.to_string()
std::str::from_utf8(Asset::get(filename).unwrap().data.as_ref())
.unwrap()
.to_string()
}
}

Expand Down

0 comments on commit 40d179e

Please sign in to comment.