Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MCOfficer committed Mar 29, 2024
1 parent 4a2efa5 commit 2887fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl Plugin {
.homepage()
.unwrap_or("No homepage available".to_string());
if url.trim().starts_with("http://") || url.trim().starts_with("https://") {
if open::that(&url.trim()).is_err() {
if open::that(url.trim()).is_err() {
error!("URL could not be opened: '{}'", url);
}
} else {
Expand Down

0 comments on commit 2887fd8

Please sign in to comment.