Auto merge of #3641 - hellow554:patch-1, r=flip1995

Add missing ` in default lint
This commit is contained in:
bors 2019-01-07 17:50:48 +00:00
commit dd94d3b93c

View File

@ -27,7 +27,7 @@
/// It detects both the case when a manual
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html)
/// implementation is required and also when it can be created with
/// `#[derive(Default)]
/// `#[derive(Default)]`
///
/// **Why is this bad?** The user might expect to be able to use
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html) as the