diff --git a/apps/src/lib/config/ethereum_bridge/params.rs b/apps/src/lib/config/ethereum_bridge/params.rs index 3ba5be7d226..810941623c6 100644 --- a/apps/src/lib/config/ethereum_bridge/params.rs +++ b/apps/src/lib/config/ethereum_bridge/params.rs @@ -19,7 +19,7 @@ pub struct MinimumConfirmations(NonZeroU64); impl Default for MinimumConfirmations { fn default() -> Self { - // SAFETY: The only way the API contract of `NonZeroU64`can be violated + // SAFETY: The only way the API contract of `NonZeroU64` can be violated // is if we construct values of this type using 0 as argument. Self(unsafe { NonZeroU64::new_unchecked(100) }) } @@ -57,8 +57,9 @@ pub struct ContractVersion(NonZeroU64); impl Default for ContractVersion { fn default() -> Self { - // SAFETY: The only way the API contract of `NonZeroU64`can be violated - // is if we construct values of this type using 0 as argument. + // SAFETY: The only way the API contract of `NonZeroU64` can be + // violated is if we construct values of this type using 0 as + // argument. Self(unsafe { NonZeroU64::new_unchecked(1) }) } }