Skip to content

Commit 40f3102

Browse files
committed
Merge branch 'empty-docs' of github.com:SET001/rust-clippy into empty-docs
2 parents 3ce3569 + 60c3820 commit 40f3102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/empty_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ declare_clippy_lint! {
1212
/// ### Example
1313
/// ```rust
1414
/// ///
15-
/// fn returns_true() {
15+
/// fn returns_true() -> bool {
1616
/// true
1717
/// }
1818
/// ```
1919
/// Use instead:
2020
/// ```rust
21-
/// fn returns_true() {
21+
/// fn returns_true() -> bool {
2222
/// true
2323
/// }
2424
/// ```

0 commit comments

Comments
 (0)