From f3f1babc1b226bc0083f5941468025f5008f428b Mon Sep 17 00:00:00 2001 From: Simon Farnsworth Date: Thu, 2 Apr 2020 14:28:25 +0100 Subject: [PATCH] Update types.rs --- clippy_lints/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 6b63f2b1f0a..2ec58c04cd6 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -106,7 +106,7 @@ /// /// **Example** /// ```rust,ignore - /// fn get_node_data(n: Node) -> Option> { + /// fn get_data() -> Option> { /// None /// } /// ``` @@ -120,7 +120,7 @@ /// None, // Was None /// } /// - /// fn get_node_data(n: Node) -> Contents { + /// fn get_data() -> Contents { /// Contents::None /// } /// ```