decimal: remove 'static lifetime of const
clippy:
error: constants have by default a `'static` lifetime
note: `#[deny(clippy::redundant_static_lifetimes)]` implied by `#[deny(clippy::all)]`
help: for further information visit
Actually, I'm not sure why this wasn't found when running clippy on all
exercises in master...
@@ -8,7 +8,7 @@ fn decimal(input: &str) -> Decimal {
}
/// Some big and precise values we can use for testing. [0] + [1] == [2]
-const BIGS: [&'static str; 3] = [
+const BIGS: [&str; 3] = [
"100000000000000000000000000000000000000000000.00000000000000000000000000000000000000001",
"100000000000000000000000000000000000000000000.00000000000000000000000000000000000000002",
"200000000000000000000000000000000000000000000.00000000000000000000000000000000000000003",
