Skip to content

Commit a393122

Browse files
authored
Add missing ` in default lint
1 parent 81fa266 commit a393122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/new_without_default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use syntax::source_map::Span;
2727
/// It detects both the case when a manual
2828
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html)
2929
/// implementation is required and also when it can be created with
30-
/// `#[derive(Default)]
30+
/// `#[derive(Default)]`
3131
///
3232
/// **Why is this bad?** The user might expect to be able to use
3333
/// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html) as the

0 commit comments

Comments
 (0)