Skip to content

Commit

Permalink
add comments for errors. ignore clippy on type complexity for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Apr 10, 2024
1 parent eca0be9 commit 58b8bde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openmls/src/group/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,10 @@ pub enum CreateGroupContextExtProposalError<KeyStoreError> {
/// See [`LeafNodeValidationError`] for more details.
#[error(transparent)]
LeafNodeValidation(#[from] LeafNodeValidationError),
/// See [`MlsGroupStateError`] for more details.
#[error(transparent)]
GroupStateError(#[from] MlsGroupStateError),
MlsGroupStateError(#[from] MlsGroupStateError),
/// See [`CreateCommitError`] for more details.
#[error(transparent)]
CreateCommitError(#[from] CreateCommitError<KeyStoreError>),
}
Expand Down
1 change: 1 addition & 0 deletions openmls/src/group/mls_group/proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ impl MlsGroup {
///
/// Returns an error when the group does not support all the required capabilities
/// in the new `extensions`.
#[allow(clippy::type_complexity)]
pub fn update_group_context_extensions<KeyStore: OpenMlsKeyStore>(
&mut self,
provider: &impl OpenMlsProvider<KeyStoreProvider = KeyStore>,
Expand Down

0 comments on commit 58b8bde

Please sign in to comment.