Skip to content

Commit

Permalink
Remove unused error variants
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Oct 20, 2023
1 parent 384ed06 commit 745bbb1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions xmtp_mls/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ pub enum AccountError {
BadGeneration(#[from] SignatureError),
#[error("bad association")]
BadAssocation(#[from] AssociationError),
#[error("mutex poisoned error")]
MutexPoisoned,
#[error("unknown error")]
Unknown,
}

pub struct Account {}
2 changes: 0 additions & 2 deletions xmtp_mls/src/association.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ pub enum AssociationError {
provided_addr: Address,
signing_addr: Address,
},
#[error("unknown association error")]
Unknown,
}

/// An Association is link between a blockchain account and an xmtp installation for the purposes of
Expand Down

0 comments on commit 745bbb1

Please sign in to comment.