Skip to content

Commit

Permalink
fix: CI + typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin L committed Nov 25, 2024
1 parent d52e7c7 commit 6fc5822
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions adb_client/src/adb_device_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<S: ToString, W: Write>(
&mut self,
command: impl IntoIterator<Item = S>,
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<R: Read, W: Write + Send + 'static>(&mut self, reader: R, writer: W) -> Result<()>;
Expand All @@ -27,7 +27,7 @@ pub trait ADBDeviceExt {
/// Push `stream` to `path` on the device.
fn push<R: Read, A: AsRef<str>>(&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.
Expand Down

0 comments on commit 6fc5822

Please sign in to comment.