Skip to content

Commit

Permalink
Rustfmt!
Browse files Browse the repository at this point in the history
awwaiid committed Dec 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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()
}
}

0 comments on commit 40d179e

Please sign in to comment.