summaryrefslogtreecommitdiffstats
path: root/github_info
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2019-04-14 00:39:52 +0100
committerKornel <kornel@geekhood.net>2019-04-14 02:10:48 +0100
commite7bccb59b615b7295c74d6779b88ce51f1329a66 (patch)
tree3fc2b339ccb098025afe82d3b3a486107fc05d67 /github_info
parent5244f3fc4e772a695c6867406751eae3312e0397 (diff)
Rustfmt
Diffstat (limited to 'github_info')
-rw-r--r--github_info/src/lib_github.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/github_info/src/lib_github.rs b/github_info/src/lib_github.rs
index 040b806..ea3455c 100644
--- a/github_info/src/lib_github.rs
+++ b/github_info/src/lib_github.rs
@@ -11,16 +11,16 @@ use simple_cache;
use std::path::Path;
-use urlencoding::encode;
-use repo_url::SimpleRepo;
use github_rs::client;
-use github_rs::{HeaderMap, StatusCode};
use github_rs::client::Executor;
-use std::time::{SystemTime, UNIX_EPOCH};
-use std::time::Duration;
-use std::thread;
-use simple_cache::TempCache;
use github_rs::headers::{rate_limit_remaining, rate_limit_reset};
+use github_rs::{HeaderMap, StatusCode};
+use repo_url::SimpleRepo;
+use simple_cache::TempCache;
+use std::thread;
+use std::time::Duration;
+use std::time::{SystemTime, UNIX_EPOCH};
+use urlencoding::encode;
mod model;
pub use crate::model::*;
@@ -264,7 +264,7 @@ impl GitHub {
}
Ok(None)
},
- Err(err) => Err(err)?
+ Err(err) => Err(err)?,
}
}
}