update dependencies (#2032)

## Issue Addressed

NA

## Proposed Changes

Updates out of date dependencies.

## Additional Info

See also https://github.com/sigp/lighthouse/issues/1712 for a list of dependencies that are still out of date and the resasons.
This commit is contained in:
blacktemplar
2020-12-07 08:20:33 +00:00
parent 9c915349d4
commit a28e8decbf
22 changed files with 98 additions and 183 deletions

View File

@@ -221,7 +221,7 @@ pub fn inc_counter_vec(int_counter_vec: &Result<IntCounterVec>, name: &[&str]) {
}
}
pub fn inc_counter_vec_by(int_counter_vec: &Result<IntCounterVec>, name: &[&str], amount: i64) {
pub fn inc_counter_vec_by(int_counter_vec: &Result<IntCounterVec>, name: &[&str], amount: u64) {
if let Some(counter) = get_int_counter(int_counter_vec, name) {
counter.inc_by(amount);
}
@@ -276,7 +276,7 @@ pub fn inc_counter(counter: &Result<IntCounter>) {
}
}
pub fn inc_counter_by(counter: &Result<IntCounter>, value: i64) {
pub fn inc_counter_by(counter: &Result<IntCounter>, value: u64) {
if let Ok(counter) = counter {
counter.inc_by(value);
}