Skip to content

Commit

Permalink
chore: linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dj95 committed Oct 24, 2024
1 parent fec107e commit c74e310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ impl ModuleConfig {
) -> String {
if self.left_parts.is_empty() && self.center_parts.is_empty() && self.right_parts.is_empty()
{
return format!("No configuration found. See https://github.com/dj95/zjstatus/wiki/3-%E2%80%90-Configuration for more info");
return "No configuration found. See https://github.com/dj95/zjstatus/wiki/3-%E2%80%90-Configuration for more info".to_string();
}

let output_left = self.left_parts.iter_mut().fold("".to_owned(), |acc, part| {
Expand Down

0 comments on commit c74e310

Please sign in to comment.