From 9755247354858349cebc83872ce6fba7ab238d0c Mon Sep 17 00:00:00 2001 From: Marshall Porter <meoporter@gmail.com> Date: Wed, 23 Oct 2024 02:00:00 -0700 Subject: [PATCH] remove typing --- src/me.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/me.rs b/src/me.rs index 3f5ba46..38e57bf 100644 --- a/src/me.rs +++ b/src/me.rs @@ -6,7 +6,6 @@ use std::path::Path; use clap::Subcommand; use dialoguer::Confirm; use reqwest; -use self_update::update::Release; use version_compare::Cmp; use crate::file::get_cur_path_str; @@ -91,7 +90,7 @@ fn upgrade() -> Result<(), Box<dyn Error>> { let mut latest_version = current_version.clone(); let binary = format!("{}-ctrl", self_update::get_target()); - let mut latest_viable_release: Option<Release> = None; + let mut latest_viable_release = None; for r in releases { if r.asset_for(&binary, None).is_some() {