mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
Merge pull request #2995 from reujab/master
Removed colon in documentation
This commit is contained in:
commit
55a38382c8
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue