diff options
Diffstat (limited to 'clippy_lints/src/pathbuf_init_then_push.rs')
| -rw-r--r-- | clippy_lints/src/pathbuf_init_then_push.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/pathbuf_init_then_push.rs b/clippy_lints/src/pathbuf_init_then_push.rs index 0008f154ae3..18bfb588a11 100644 --- a/clippy_lints/src/pathbuf_init_then_push.rs +++ b/clippy_lints/src/pathbuf_init_then_push.rs @@ -21,8 +21,8 @@ declare_clippy_lint! { /// `PathBuf::from` instead. /// /// ### Known problems - /// `.join()` introduces an implicit `clone()`. `PathBuf::from` can alternativly be - /// used when the `PathBuf` is newly constructed. This will avoild the implicit clone. + /// `.join()` introduces an implicit `clone()`. `PathBuf::from` can alternatively be + /// used when the `PathBuf` is newly constructed. This will avoid the implicit clone. /// /// ### Example /// ```rust |
