mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-16 01:38:09 +00:00
Fix two doc comments
This commit is contained in:
parent
b20db1aede
commit
36f75e8015
1 changed files with 1 additions and 2 deletions
|
@ -371,7 +371,7 @@ fn check_and_warn<'a>(ctx: &EarlyContext, expr: &'a ast::Expr) {
|
|||
///
|
||||
/// ```
|
||||
/// {
|
||||
/// let x = 5;"
|
||||
/// let x = 5;
|
||||
/// ```
|
||||
///
|
||||
/// NOTE: when there is no closing brace in `s`, `s` is _not_ preserved, i.e.,
|
||||
|
@ -405,7 +405,6 @@ pub fn erode_from_back(s: &str) -> String {
|
|||
/// something();
|
||||
/// inside_a_block();
|
||||
/// }
|
||||
///
|
||||
/// ```
|
||||
///
|
||||
pub fn erode_from_front(s: &str) -> String {
|
||||
|
|
Loading…
Reference in a new issue