8000 fix elided lifetime has a name warning by wez · Pull Request #6 · mkj/sunset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix elided lifetime has a name warning #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions embassy/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use sunset::ChanData;
use embassy_sunset::{EmbassySunset, ProgressHolder};
use embassy_channel::{ChanInOut, ChanIn};

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

pub async fn open_session_pty(&'a self) -> Result<ChanInOut<'_, 'a>> {
pub async fn open_session_pty(&'a self) -> Result<ChanInOut<'a, 'a>> {
let chan = self.sunset.with_runner(|runner| {
runner.open_client_session()
}).await?;
Expand Down
0