From 7fc7462bdb6565fa4e49a9f15099f8faed5385b5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 May 2021 16:47:58 +0200 Subject: main: Remove unused repo variable `r` Looks like I'm not going to be using this, since the functions in this match arm that take `database::Repo`s should take the one based on the `github::Repo` rather than the one fetched from the database. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index e7d8430..3f2c9a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,7 @@ async fn main() { let db_repo = database::Repo::from(&repo); match db.repo_get(id).await { - Ok(r) => { + Ok(_) => { if db.repo_is_updated(&db_repo).await.unwrap() { update(&path).unwrap(); -- cgit v1.2.3