Fix formatting.
This commit is contained in:
parent
5684063539
commit
2f65f19fa6
|
@ -424,7 +424,9 @@ impl<A> AuthFragment<A> {
|
||||||
|
|
||||||
impl<A: Clone> AuthFragment<A> {
|
impl<A: Clone> AuthFragment<A> {
|
||||||
pub fn fuse(&self, other: &Self) -> Option<Self> {
|
pub fn fuse(&self, other: &Self) -> Option<Self> {
|
||||||
if self.position == other.position && self.altitudes_observed + other.values.len() == other.altitudes_observed {
|
if self.position == other.position
|
||||||
|
&& self.altitudes_observed + other.values.len() == other.altitudes_observed
|
||||||
|
{
|
||||||
Some(AuthFragment {
|
Some(AuthFragment {
|
||||||
position: self.position,
|
position: self.position,
|
||||||
altitudes_observed: other.altitudes_observed,
|
altitudes_observed: other.altitudes_observed,
|
||||||
|
|
Loading…
Reference in New Issue