From 646f62a293a878b66651c4ce4855c16237cf306b Mon Sep 17 00:00:00 2001 From: Andreas Longva Date: Tue, 26 Jan 2021 09:12:06 +0100 Subject: [PATCH] rustfmt (nalgebra) --- src/proptest/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proptest/mod.rs b/src/proptest/mod.rs index 58c41b67..0ac2a377 100644 --- a/src/proptest/mod.rs +++ b/src/proptest/mod.rs @@ -169,7 +169,7 @@ pub struct MatrixParameters { /// ranges such as `5 ..= 6`. The latter example corresponds to dimensions from (inclusive) /// `Dynamic::new(5)` to `Dynamic::new(6)` (inclusive). #[derive(Debug, Clone, PartialEq, Eq)] -pub struct DimRange(RangeInclusive); +pub struct DimRange(RangeInclusive); impl DimRange { /// The lower bound for dimensions generated. @@ -204,7 +204,7 @@ impl From> for DimRange { impl DimRange { /// Converts the `DimRange` into an instance of `RangeInclusive`. pub fn to_range_inclusive(&self) -> RangeInclusive { - self.lower_bound().value() ..= self.upper_bound().value() + self.lower_bound().value()..=self.upper_bound().value() } }