Skip to content

Commit 676fff3

Browse files
authored
Merge pull request #1712 from Bobo1239/master
Fix two doc comments (one broke `cargo doc`)
2 parents b20db1a + 36f75e8 commit 676fff3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/needless_continue.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ fn check_and_warn<'a>(ctx: &EarlyContext, expr: &'a ast::Expr) {
371371
///
372372
/// ```
373373
/// {
374-
/// let x = 5;"
374+
/// let x = 5;
375375
/// ```
376376
///
377377
/// 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 {
405405
/// something();
406406
/// inside_a_block();
407407
/// }
408-
///
409408
/// ```
410409
///
411410
pub fn erode_from_front(s: &str) -> String {

0 commit comments

Comments
 (0)