Skip to content

Commit

Permalink
Auto merge of #4199 - flip1995:implicit_return_docs, r=flip1995
Browse files Browse the repository at this point in the history
Fix implicit_return docs

Resolves #4197

changelog: none
  • Loading branch information
bors committed Jun 12, 2019
2 parents f342ea6 + 310c90a commit bd33a97
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 bd33a97

Please sign in to comment.