From c5887a38ce8d4e20ec614c3e9ca84c184b9f1bcf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 19:17:19 +0000 Subject: [PATCH 1/2] chore(deps): Update Rust Stable to v1.84 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd5428c4..4f5dad93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83" # STABLE + toolchain: "1.84" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -119,7 +119,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83" # STABLE + toolchain: "1.84" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -135,7 +135,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83" # STABLE + toolchain: "1.84" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools From 9670f4f18a162b6f9351025f1cf4c40e8f4355fb Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 9 Jan 2025 13:45:56 -0600 Subject: [PATCH 2/2] style: Fix rustc lint --- src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.rs b/src/process.rs index d22db1ef..e5202462 100644 --- a/src/process.rs +++ b/src/process.rs @@ -124,7 +124,7 @@ impl PtyProcess { flags.local_flags &= !termios::LocalFlags::ECHO; termios::tcsetattr(&stdin, termios::SetArg::TCSANOW, &flags)?; - command.exec(); + let _ = command.exec(); Err(Error::Nix(nix::Error::last())) } ForkResult::Parent { child: child_pid } => Ok(PtyProcess {