Skip to content

Commit

Permalink
Fix markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
fanzier committed Jun 12, 2018
1 parent 8682858 commit 35d1b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/unwrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use rustc::hir::*;
use syntax::ast::NodeId;
use syntax::codemap::Span;

/// **What it does:** Checks for calls of unwrap[_err]() that cannot fail.
/// **What it does:** Checks for calls of `unwrap[_err]()` that cannot fail.
///
/// **Why is this bad?** Using `if let` or `match` is more idiomatic.
///
Expand All @@ -32,7 +32,7 @@ declare_clippy_lint! {
"checks for calls of unwrap[_err]() that cannot fail"
}

/// **What it does:** Checks for calls of unwrap[_err]() that will always fail.
/// **What it does:** Checks for calls of `unwrap[_err]()` that will always fail.
///
/// **Why is this bad?** If panicking is desired, an explicit `panic!()` should be used.
///
Expand Down

0 comments on commit 35d1b19

Please sign in to comment.