Skip to content

Commit

Permalink
Fix implicit_return docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jun 12, 2019
1 parent ba1702a commit 310c90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/implicit_return.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/// }
/// ```
Expand Down

0 comments on commit 310c90a

Please sign in to comment.