Skip to content

Commit 9599895

Browse files
committed
Allow result_large_err on the single-use helpers
This is with the idea that they're likely to be able to be inlined.
1 parent 9255ccc commit 9599895

File tree

1 file changed

+2
-0
lines changed
  • gix-transport/src/client/blocking_io/ssh

1 file changed

+2
-0
lines changed

gix-transport/src/client/blocking_io/ssh/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ pub fn connect(
128128
))
129129
}
130130

131+
#[allow(clippy::result_large_err)]
131132
fn determine_client_kind(
132133
known_kind: Option<ProgramKind>,
133134
ssh_cmd: &OsStr,
@@ -147,6 +148,7 @@ fn determine_client_kind(
147148
Ok(kind)
148149
}
149150

151+
#[allow(clippy::result_large_err)]
150152
fn build_client_feature_check_command(ssh_cmd: &OsStr, url: &Url, disallow_shell: bool) -> Result<Command, Error> {
151153
let mut prepare = gix_command::prepare(ssh_cmd)
152154
.stderr(Stdio::null())

0 commit comments

Comments
 (0)