diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-08-05 19:06:35 +0200 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-08-05 19:06:35 +0200 |
| commit | 15b87088bef9f39c3313939328e1f5fc29473c04 (patch) | |
| tree | 4724d2b70dab3a0bd70742f1a7481e7ad898c776 /clippy_lints | |
| parent | 2dbf0c138de34d7805b9291705f2e2361324f219 (diff) | |
| download | rust-15b87088bef9f39c3313939328e1f5fc29473c04.tar.gz rust-15b87088bef9f39c3313939328e1f5fc29473c04.zip | |
Add missing backtick in docs for `redundant_allocation`
Diffstat (limited to 'clippy_lints')
| -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 |
