fmt the code

This commit is contained in:
vishalsodani 2022-10-27 14:09:38 +05:30
parent 89c40c83c3
commit 689bef7ad2

View File

@ -60,9 +60,7 @@ impl<P, D> GuardedData<P, D> {
None => Err(AuthenticationError::IrretrievableState.into()), None => Err(AuthenticationError::IrretrievableState.into()),
}, },
None if missing_master_key => { None if missing_master_key => Err(AuthenticationError::MissingMasterKey.into()),
Err(AuthenticationError::MissingMasterKey.into())
}
None => Err(AuthenticationError::MissingAuthorizationHeader.into()), None => Err(AuthenticationError::MissingAuthorizationHeader.into()),
} }
} }