diff options
| author | bors <bors@rust-lang.org> | 2021-08-07 13:19:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-07 13:19:06 +0000 |
| commit | 176df7ca9a30d97e22a3b6ea5e5c6599ef931086 (patch) | |
| tree | 679617e2f1478994ce0d1dbb0ca21761cb69e0fd | |
| parent | 6cb30ad58128426307a7e476a2f81ef1e9673d3c (diff) | |
| parent | 15b87088bef9f39c3313939328e1f5fc29473c04 (diff) | |
| download | rust-176df7ca9a30d97e22a3b6ea5e5c6599ef931086.tar.gz rust-176df7ca9a30d97e22a3b6ea5e5c6599ef931086.zip | |
Auto merge of #7536 - LeSeulArtichaut:redundant-allocation-doc, r=giraffate
Add missing backtick in docs for `redundant_allocation` changelog: none
| -rw-r--r-- | clippy_lints/src/types/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/types/mod.rs b/clippy_lints/src/types/mod.rs index ad7409fe3a9..371bb8b445a 100644 --- a/clippy_lints/src/types/mod.rs +++ b/clippy_lints/src/types/mod.rs @@ -186,7 +186,7 @@ declare_clippy_lint! { /// Checks for use of redundant allocations anywhere in the code. /// /// ### Why is this bad? - /// Expressions such as `Rc<&T>`, `Rc<Rc<T>>`, `Rc<Arc<T>>`, `Rc<Box<T>>`, Arc<&T>`, `Arc<Rc<T>>`, + /// Expressions such as `Rc<&T>`, `Rc<Rc<T>>`, `Rc<Arc<T>>`, `Rc<Box<T>>`, `Arc<&T>`, `Arc<Rc<T>>`, /// `Arc<Arc<T>>`, `Arc<Box<T>>`, `Box<&T>`, `Box<Rc<T>>`, `Box<Arc<T>>`, `Box<Box<T>>`, add an unnecessary level of indirection. /// /// ### Example |
