Fix implicit_return docs

This commit is contained in:
flip1995 2019-06-12 10:51:14 +02:00
parent ba1702a05f
commit 310c90abb8
No known key found for this signature in database
GPG Key ID: 01C836B640FFDFB1

View File

@ -18,13 +18,13 @@ declare_clippy_lint! {
///
/// **Example:**
/// ```rust
/// fn foo(x: usize) {
/// fn foo(x: usize) -> usize {
/// x
/// }
/// ```
/// add return
/// ```rust
/// fn foo(x: usize) {
/// fn foo(x: usize) -> usize {
/// return x;
/// }
/// ```