Skip to content

Commit debe26d

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

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
@@ -12,7 +12,7 @@ declare_clippy_lint! {
1212
/// ### Example
1313
/// ```rust
1414
/// ///
15-
/// fn returns_true() {
15+
/// fn returns_true() -> bool {
1616
/// true
1717
/// }
1818
/// ```

0 commit comments

Comments
 (0)