Skip to content

Commit

Permalink
Allow result_large_err on the single-use helpers
Browse files Browse the repository at this point in the history
This is with the idea that they're likely to be able to be inlined.
  • Loading branch information
EliahKagan committed Jan 26, 2025
1 parent 9255ccc commit 9599895
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gix-transport/src/client/blocking_io/ssh/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ pub fn connect(
))
}

#[allow(clippy::result_large_err)]
fn determine_client_kind(
known_kind: Option<ProgramKind>,
ssh_cmd: &OsStr,
Expand All @@ -147,6 +148,7 @@ fn determine_client_kind(
Ok(kind)
}

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

0 comments on commit 9599895

Please sign in to comment.