Skip to content

Commit dd94d3b

Browse files
committed
Auto merge of #3641 - hellow554:patch-1, r=flip1995
Add missing ` in default lint
2 parents 81fa266 + a393122 commit dd94d3b

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)