Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Feb 7, 2025
1 parent 00644d4 commit 5c5d2c8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions wezterm-gui/src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ pub fn load_last_release_info_and_set_banner() {

fn set_banner_from_release_info(latest: &Release) {
let mux = crate::Mux::get();
let url = format!(
"https://wezterm.org/changelog.html#{}",
latest.tag_name
);
let url = format!("https://wezterm.org/changelog.html#{}", latest.tag_name);

let icon = ITermFileData {
name: None,
Expand Down Expand Up @@ -191,10 +188,7 @@ fn update_checker() {
current
);

let url = format!(
"https://wezterm.org/changelog.html#{}",
latest.tag_name
);
let url = format!("https://wezterm.org/changelog.html#{}", latest.tag_name);

if force_ui || socks.is_empty() || socks[0] == my_sock {
persistent_toast_notification_with_click_to_open_url(
Expand Down

0 comments on commit 5c5d2c8

Please sign in to comment.