From 6fc5822a26a0c75d1cde1a84e6c7bf609dfd74fc Mon Sep 17 00:00:00 2001 From: Corentin L Date: Mon, 25 Nov 2024 17:32:16 +0100 Subject: [PATCH] fix: CI + typos --- .github/workflows/rust-quality.yml | 2 +- adb_client/src/adb_device_ext.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust-quality.yml b/.github/workflows/rust-quality.yml index 2d8deb7..2b0dc43 100644 --- a/.github/workflows/rust-quality.yml +++ b/.github/workflows/rust-quality.yml @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run doc - run : cargo doc --all-features --keep-going --offline + run : cargo doc --all-features --keep-going tests: name: "tests" diff --git a/adb_client/src/adb_device_ext.rs b/adb_client/src/adb_device_ext.rs index d5e300f..2817a44 100644 --- a/adb_client/src/adb_device_ext.rs +++ b/adb_client/src/adb_device_ext.rs @@ -6,14 +6,14 @@ use crate::{RebootType, Result}; /// Trait representing all features available on devices. pub trait ADBDeviceExt { - /// Runs 'command' in a shell on the device, and write its output and error streams into `output`. + /// Run 'command' in a shell on the device, and write its output and error streams into `output`. fn shell_command( &mut self, command: impl IntoIterator, output: W, ) -> Result<()>; - /// Starts an interactive shell session on the device. + /// Start an interactive shell session on the device. /// Input data is read from `reader` and write to `writer`. /// `W` has a 'static bound as it is internally used in a thread. fn shell(&mut self, reader: R, writer: W) -> Result<()>; @@ -27,7 +27,7 @@ pub trait ADBDeviceExt { /// Push `stream` to `path` on the device. fn push>(&mut self, stream: R, path: A) -> Result<()>; - /// Reboots the device using given reboot type + /// Reboot the device using given reboot type fn reboot(&mut self, reboot_type: RebootType) -> Result<()>; /// Run `activity` from `package` on device. Return the command output.