chore: Fix warnings for Rust 1.89 (#32378)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -281,7 +281,7 @@ impl RemoteEntry {
|
||||
matches!(self, Self::Project { .. })
|
||||
}
|
||||
|
||||
fn connection(&self) -> Cow<SshConnection> {
|
||||
fn connection(&self) -> Cow<'_, SshConnection> {
|
||||
match self {
|
||||
Self::Project { connection, .. } => Cow::Borrowed(connection),
|
||||
Self::SshConfig { host, .. } => Cow::Owned(SshConnection {
|
||||
|
||||
Reference in New Issue
Block a user