Skip to content

Commit a1f9770

Browse files
wezmkj
authored andcommitted
fix elided lifetime has a name warning
It resolves to 'a anyway, so let's just set it to that
1 parent 5a91df0 commit a1f9770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embassy/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use sunset::ChanData;
88
use embassy_sunset::{EmbassySunset, ProgressHolder};
99
use embassy_channel::{ChanInOut, ChanIn};
1010

11-
/// An async SSH client instance
11+
/// An async SSH client instance
1212
///
1313
/// The [`run()`][Self::run] method runs the session to completion. [`progress()`][Self::progress]
1414
/// must be polled, and responses given to the events provided.
@@ -62,7 +62,7 @@ impl<'a> SSHClient<'a> {
6262
Ok((cstd, cerr))
6363
}
6464

65-
pub async fn open_session_pty(&'a self) -> Result<ChanInOut<'_, 'a>> {
65+
pub async fn open_session_pty(&'a self) -> Result<ChanInOut<'a, 'a>> {
6666
let chan = self.sunset.with_runner(|runner| {
6767
runner.open_client_session()
6868
}).await?;

0 commit comments

Comments
 (0)