Skip to content

Commit

Permalink
Auto merge of #7536 - LeSeulArtichaut:redundant-allocation-doc, r=gir…
Browse files Browse the repository at this point in the history
…affate

Add missing backtick in docs for `redundant_allocation`

changelog: none
  • Loading branch information
bors committed Aug 7, 2021
2 parents 6cb30ad + 15b8708 commit 176df7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/types/mod.rs
Expand Up @@ -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
Expand Down

0 comments on commit 176df7c

Please sign in to comment.