Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 committed Dec 14, 2023
1 parent e9f40a4 commit 8718ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ impl PagerState {
}

// add follow-mode indicator
if follow_mode_str.len() > 0 {
if !follow_mode_str.is_empty() {
format_string.push_str(FOLLOW_MODE_SPEC);
format_string.push_str(follow_mode_str);
}
Expand Down

0 comments on commit 8718ad0

Please sign in to comment.