diff --git a/reactive_stores/src/option.rs b/reactive_stores/src/option.rs index 7bca903b6b..8c0f131819 100644 --- a/reactive_stores/src/option.rs +++ b/reactive_stores/src/option.rs @@ -14,7 +14,9 @@ where fn unwrap(self) -> Subfield, Self::Output>; /// Transposes a subfield of an `Option` to an `Option` of a subfield. - fn transpose(self) -> Option, Self::Output>>; + fn transpose( + self, + ) -> Option, Self::Output>>; /// Reactively maps over the field. /// @@ -55,7 +57,9 @@ where ) } - fn transpose(self)->Option, Self::Output>>{ + fn transpose( + self, + ) -> Option, Self::Output>> { if self.read().is_some() { Some(self.unwrap()) } else {