We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60e94f6 commit 9547a7fCopy full SHA for 9547a7f
compiler/rustc_lint_defs/src/builtin.rs
@@ -1704,7 +1704,7 @@ declare_lint! {
1704
}
1705
1706
declare_lint! {
1707
- /// The `recursive_dafault_impl` lint detects functions that cannot
+ /// The `recursive_default_impl` lint detects Default impls that cannot
1708
/// return without calling themselves.
1709
///
1710
/// ### Example
@@ -1718,9 +1718,8 @@ declare_lint! {
1718
/// Self {
1719
/// ..Default::default()
1720
/// }
1721
+ /// }
1722
- ///
1723
- /// let _ = Foo::default();
1724
/// ```
1725
1726
/// {{produces}}
0 commit comments