File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ impl MerkleNodes {
5757 }
5858
5959 /// Return an iterator over the MerkleNodes
60- pub fn iter ( & self ) -> indexmap:: map:: Iter < Cid , MerkleNode > {
60+ pub fn iter ( & self ) -> indexmap:: map:: Iter < ' _ , Cid , MerkleNode > {
6161 self . nodes . iter ( )
6262 }
6363
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ impl Builder<WithExpiration> {
224224 PeerKey ( format ! ( "{:0>11}" , self . state. expiration) )
225225 }
226226 /// Set the peer id. Note, a NodeKey is required so the [`PeerEntry`] can be signed.
227- pub fn with_id ( self , id : & NodeKey ) -> Builder < WithId > {
227+ pub fn with_id ( self , id : & NodeKey ) -> Builder < WithId < ' _ > > {
228228 Builder {
229229 state : WithId {
230230 node_key : id,
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl SqlitePool {
192192
193193 /// Begin a transaction. The transaction must be committed by calling `commit_tx`.
194194 /// Will be rolled back on drop if not committed.
195- pub async fn begin_tx ( & self ) -> Result < SqliteTransaction > {
195+ pub async fn begin_tx ( & self ) -> Result < SqliteTransaction < ' _ > > {
196196 let tx = self . writer . begin ( ) . await ?;
197197 Ok ( SqliteTransaction { tx } )
198198 }
You can’t perform that action at this time.
0 commit comments