diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 6697c67365..d578735b96 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] # We pin the minor version to prevent new Clippy lints from breaking CI. # But, we still want to pick up new patch versions. -channel = "1.89" +channel = "1.90" diff --git a/src/api/mod.rs b/src/api/mod.rs index dd3b03c9b7..b836c98a80 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -2177,18 +2177,6 @@ pub struct ReleaseCommit { pub id: String, } -#[derive(Debug, Serialize, Deserialize)] -struct GitHubAsset { - browser_download_url: String, - name: String, -} - -#[derive(Debug, Serialize, Deserialize)] -struct GitHubRelease { - tag_name: String, - assets: Vec, -} - #[derive(Debug, Serialize, Deserialize)] struct RegistryRelease { version: String, diff --git a/src/commands/monitors/list.rs b/src/commands/monitors/list.rs index d948033519..b68d28e1d6 100644 --- a/src/commands/monitors/list.rs +++ b/src/commands/monitors/list.rs @@ -17,7 +17,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> { let api = Api::current(); let org = config.get_org(matches)?; let mut monitors = api.authenticated()?.list_organization_monitors(&org)?; - monitors.sort_by_key(|p| (p.name.clone())); + monitors.sort_by_key(|p| p.name.clone()); let mut table = Table::new(); table