diff --git a/.github/workflows/ci-tool-checks.yml b/.github/workflows/ci-tool-checks.yml index 6582c551..84da91a4 100644 --- a/.github/workflows/ci-tool-checks.yml +++ b/.github/workflows/ci-tool-checks.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: toolchain: - - 1.62.1 + - 1.70.0 steps: - name: Checkout repository diff --git a/src/si/thermal_conductance.rs b/src/si/thermal_conductance.rs index 865eec1b..c67e6495 100644 --- a/src/si/thermal_conductance.rs +++ b/src/si/thermal_conductance.rs @@ -198,36 +198,35 @@ mod tests { } #[test] - fn check_power_per_length_ti_units() { - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); - test::(); + fn check_power_ti_units() { + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); + test::(); - test::(); - test::(); - test::(); + test::(); + test::(); + test::(); fn test< P: p::Conversion, - L: l::Conversion, TI: ti::Conversion, TC: tc::Conversion>() { diff --git a/src/system.rs b/src/system.rs index a9fb3b70..d73ff3c1 100644 --- a/src/system.rs +++ b/src/system.rs @@ -987,7 +987,7 @@ macro_rules! system { U: Units + ?Sized, V: $crate::num::Num + $crate::Conversion + $crate::lib::fmt::Debug, { - fn fmt<'a>(&self, f: &mut $crate::lib::fmt::Formatter<'a>) -> $crate::lib::fmt::Result { + fn fmt(&self, f: &mut $crate::lib::fmt::Formatter) -> $crate::lib::fmt::Result { self.value.fmt(f) $(.and_then(|_| { let d = ::to_i32(); @@ -1514,7 +1514,7 @@ macro_rules! system { V: Num + Conversion + fmt::$style, N: Unit + Conversion, { - fn fmt<'a>(&self, f: &mut fmt::Formatter<'a>) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { let value = from_base::(&self.quantity.value); value.fmt(f)?;