Skip to content

Commit

Permalink
fix: name lifetime in reference to self in TransportConnect (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Nov 29, 2023
1 parent 542a193 commit 65d29f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/transport/src/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub trait TransportConnect: Sized + Send + Sync + 'static {
fn is_local(&self) -> bool;

/// Connect to the transport, returning a `Transport` instance.
fn get_transport<'a: 'b, 'b>(&self) -> Pbf<'b, Self::Transport, TransportError>;
fn get_transport<'a: 'b, 'b>(&'a self) -> Pbf<'b, Self::Transport, TransportError>;
}

/// Connection details for a transport that can be boxed.
Expand Down

0 comments on commit 65d29f2

Please # to comment.