diff --git a/src/main.rs b/src/main.rs index e980ba2..2afbfec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,12 @@ fn main() { println!("Rim info file should start with {}", dictionary::RIM_INFO); println!("Rim info file should start with {}", dictionary::RIM_INFO); println!("Rim info file should start with {}", dictionary::RIM_INFO); + println!("Rim info file should start with {}", dictionary::RIM_INFO); +} + +fn fetch_remote<'repo>(repo: &'repo Repository, url: &str) -> Result> { + repo.remote_anonymous(url) + .context("Unable to create an anonymous remote from url") } fn fetch_remote<'repo>(repo: &'repo Repository, url: &str) -> Result> {