Add missing ` in default lint

This commit is contained in:
Marcel Hellwig 2019-01-07 14:32:32 +01:00 committed by GitHub
parent 81fa26631c
commit a3931229c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ use syntax::source_map::Span;
/// 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