Skip to content

Commit f3f1bab

Browse files
authored
Update types.rs
1 parent db3423f commit f3f1bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ declare_clippy_lint! {
106106
///
107107
/// **Example**
108108
/// ```rust,ignore
109-
/// fn get_node_data(n: Node) -> Option<Option<u32>> {
109+
/// fn get_data() -> Option<Option<u32>> {
110110
/// None
111111
/// }
112112
/// ```
@@ -120,7 +120,7 @@ declare_clippy_lint! {
120120
/// None, // Was None
121121
/// }
122122
///
123-
/// fn get_node_data(n: Node) -> Contents {
123+
/// fn get_data() -> Contents {
124124
/// Contents::None
125125
/// }
126126
/// ```

0 commit comments

Comments
 (0)