diff options
author | Teddy Wing | 2021-05-30 16:47:58 +0200 |
---|---|---|
committer | Teddy Wing | 2021-05-30 16:47:58 +0200 |
commit | 7fc7462bdb6565fa4e49a9f15099f8faed5385b5 (patch) | |
tree | c8d300b714130a5c1c4c2756087d67bf6590e27f | |
parent | ee32b6e25cf042892867ae21bb72095cfda8be9c (diff) | |
download | reflectub-7fc7462bdb6565fa4e49a9f15099f8faed5385b5.tar.bz2 |
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.
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |