about summary refs log tree commit diff
path: root/clippy_lints
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2021-08-05 19:06:35 +0200
committerLeSeulArtichaut <leseulartichaut@gmail.com>2021-08-05 19:06:35 +0200
commit15b87088bef9f39c3313939328e1f5fc29473c04 (patch)
tree4724d2b70dab3a0bd70742f1a7481e7ad898c776 /clippy_lints
parent2dbf0c138de34d7805b9291705f2e2361324f219 (diff)
downloadrust-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.rs2
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