diff --git a/clippy_lints/src/methods.rs b/clippy_lints/src/methods.rs index 33c532e1729..9a6d3df3088 100644 --- a/clippy_lints/src/methods.rs +++ b/clippy_lints/src/methods.rs @@ -383,7 +383,7 @@ declare_clippy_lint! { /// (`Rc`, `Arc`, `rc::Weak`, or `sync::Weak`), and suggests calling Clone via unified /// function syntax instead (e.g. `Rc::clone(foo)`). /// -/// **Why is this bad?**: Calling '.clone()' on an Rc, Arc, or Weak +/// **Why is this bad?** Calling '.clone()' on an Rc, Arc, or Weak /// can obscure the fact that only the pointer is being cloned, not the underlying /// data. ///