Skip to content

Commit

Permalink
Fix typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-bagwell committed Dec 12, 2023
1 parent 9a69129 commit 2335633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Also watch out patharg has no custom clap ValueParser so older versions of clap

If all you really need is support mapping `'-'` to `stdin()` try this lovely function distilled from [`patharg`](https://docs.rs/patharg).

It works becuase [either](https://docs.rs/either) has helpfully added `impl`s for many common traits when both sides implement them.
It works because [either](https://docs.rs/either) has helpfully added `impl`s for many common traits when both sides implement them.

```rust
use either::Either;
Expand Down
2 changes: 1 addition & 1 deletion src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl ClioPath {
self.with_path_mut(|base| base.push(path))
}

/// Creates an owned [`PathBuf`] with `path` adjoined to `self`.
/// Creates an owned [`ClioPath`] with `path` adjoined to `self`.
///
/// If `path` is absolute, it replaces the current path.
///
Expand Down

0 comments on commit 2335633

Please sign in to comment.