Skip to content

Commit

Permalink
chore(clippy): Prefer is_empty() for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Oct 29, 2023
1 parent 5403bee commit b4d33f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn exec(address: SocketAddrV4, path: &Path, directory: &str) {
_ => "",
};

if wine_prefix == "" {
if wine_prefix.is_empty() {
notify(
"Exiting since 32/64-bit could not be determined. Please report this issue.",
Some(&icon),
Expand Down

0 comments on commit b4d33f7

Please sign in to comment.