mirror of https://github.com/rust-lang/rust.git
Auto merge of #3641 - hellow554:patch-1, r=flip1995
Add missing ` in default lint
This commit is contained in:
commit
dd94d3b93c
|
@ -27,7 +27,7 @@ use syntax::source_map::Span;
|
||||||
/// It detects both the case when a manual
|
/// It detects both the case when a manual
|
||||||
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html)
|
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html)
|
||||||
/// implementation is required and also when it can be created with
|
/// 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
|
/// **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
|
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html) as the
|
||||||
|
|
Loading…
Reference in New Issue