chore: cargo +nightly clippy --fix -Z unstable-options
This commit is contained in:
committed by
Michael Vines
parent
3570b00560
commit
6514096a67
@ -57,7 +57,7 @@ fn main() {
|
||||
let name = v["name"].as_str().unwrap().trim_matches('\"').to_string();
|
||||
|
||||
if last_commit.is_none() {
|
||||
last_commit = get_last_metrics(&"commit".to_string(), &db, &name, &branch).ok();
|
||||
last_commit = get_last_metrics(&"commit".to_string(), &db, &name, branch).ok();
|
||||
}
|
||||
|
||||
let median: i64 = v["median"].to_string().parse().unwrap();
|
||||
@ -76,10 +76,10 @@ fn main() {
|
||||
*/
|
||||
|
||||
}
|
||||
let last_median = get_last_metrics(&"median".to_string(), &db, &name, &branch)
|
||||
let last_median = get_last_metrics(&"median".to_string(), &db, &name, branch)
|
||||
.unwrap_or_default();
|
||||
let last_deviation =
|
||||
get_last_metrics(&"deviation".to_string(), &db, &name, &branch)
|
||||
get_last_metrics(&"deviation".to_string(), &db, &name, branch)
|
||||
.unwrap_or_default();
|
||||
|
||||
results.insert(name, (median, deviation, last_median, last_deviation));
|
||||
|
Reference in New Issue
Block a user