From d7fef30ac3f539975ef9edbba8e0af4a4e9ff3de Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 5 Jan 2025 00:38:55 +0100 Subject: Commit batch of lints to allow autofix --- src/command/remove_remote.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command/remove_remote.rs') diff --git a/src/command/remove_remote.rs b/src/command/remove_remote.rs index 7590487..ee1dfde 100644 --- a/src/command/remove_remote.rs +++ b/src/command/remove_remote.rs @@ -1,6 +1,6 @@ -use std::io::Result; use crate::configuration::Configuration; use crate::remote::remove; +use std::io::Result; pub struct RemoveRemote; @@ -15,7 +15,7 @@ impl super::Command for RemoveRemote { vec![] } - fn execute(&self, _: Option<&String>, configuration: &Configuration, _: &String) -> Result<()> { + fn execute(&self, _: Option<&String>, configuration: &Configuration, _: &str) -> Result<()> { remove(&configuration.remote_config) } -- cgit