Skip to content

Commit 60c3820

Browse files
SET001blyxyas
andauthored
function return type in example
Co-authored-by: Alejandra González <[email protected]>
1 parent debe26d commit 60c3820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/empty_docs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ declare_clippy_lint! {
1818
/// ```
1919
/// Use instead:
2020
/// ```rust
21-
/// fn returns_true() {
21+
/// fn returns_true() -> bool {
2222
/// true
2323
/// }
2424
/// ```

0 commit comments

Comments
 (0)