X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/172f4c8807d44ebe38c7f227b7fdc2d6a9dbe323..b17907faf8d9693cef94a6048d802bd4ced9102f:/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) }