We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3423f commit f3f1babCopy full SHA for f3f1bab
clippy_lints/src/types.rs
@@ -106,7 +106,7 @@ declare_clippy_lint! {
106
///
107
/// **Example**
108
/// ```rust,ignore
109
- /// fn get_node_data(n: Node) -> Option<Option<u32>> {
+ /// fn get_data() -> Option<Option<u32>> {
110
/// None
111
/// }
112
/// ```
@@ -120,7 +120,7 @@ declare_clippy_lint! {
120
/// None, // Was None
121
122
123
- /// fn get_node_data(n: Node) -> Contents {
+ /// fn get_data() -> Contents {
124
/// Contents::None
125
126
0 commit comments