Skip to content

Commit

Permalink
fix(docs): fix docs for SignedInvitation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiretza authored and tasn committed May 6, 2022
1 parent 3c11d29 commit 78e2884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/encrypted_models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ pub struct SignedInvitation {
}

impl SignedInvitation {
/// The uid of the collection
/// The uid of the invitation
pub fn uid(&self) -> &str {
&self.uid
}
Expand All @@ -238,7 +238,7 @@ impl SignedInvitation {
self.access_level
}

/// The username this invitation is form
/// The username of the inviting user
pub fn sender_username(&self) -> Option<&str> {
self.from_username.as_deref()
}
Expand Down

0 comments on commit 78e2884

Please sign in to comment.