Skip to content

Commit

Permalink
explicit lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Jan 5, 2025
1 parent eb60f4d commit cbca482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/delanocreds/src/keypair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ impl<Stage> Nym<Stage> {
&'a self,
cred: &'a Credential,
entries: &[Entry],
) -> super::OfferBuilder<Stage> {
) -> super::OfferBuilder<'a, Stage> {
super::OfferBuilder::new(self, cred, entries)
}

Expand All @@ -711,7 +711,7 @@ impl<Stage> Nym<Stage> {
&'a self,
cred: &'a Credential,
entries: &'a [Entry],
) -> super::ProofBuilder<Stage> {
) -> super::ProofBuilder<'a, Stage> {
super::ProofBuilder::new(self, cred, entries)
}

Expand Down

0 comments on commit cbca482

Please sign in to comment.