Merge pull request #2995 from reujab/master

Removed colon in documentation
This commit is contained in:
Manish Goregaokar 2018-08-02 09:54:12 -07:00 committed by GitHub
commit 55a38382c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
///