Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyak2 committed Feb 4, 2024
1 parent d59f6ec commit 5d61629
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,7 @@ impl<'a> Toipe {
{
Box::new(
RawWordSelector::from_path(PathBuf::from(wordlist_path.clone())).with_context(
|| {
format!(
"reading the word list from given path '{}'",
wordlist_path
)
},
|| format!("reading the word list from given path '{}'", wordlist_path),
)?,
)
} else if let Some(word_list) = config.wordlist.contents() {
Expand Down

0 comments on commit 5d61629

Please sign in to comment.