Simplify comment

This commit is contained in:
Zanie 2023-08-22 10:23:31 -05:00
parent 6d88ac4ca2
commit d2b0b1ca26
1 changed files with 1 additions and 5 deletions

View File

@ -335,11 +335,7 @@ fn parse_nested_placeholder<'a>(
}
/// Parse and consume all placeholders in a format spec
///
/// This will also consume any intermediate characters such as `x` and `y` in
/// ```
/// "x{foo}y{bar}z"
/// ```
/// This will also consume any intermediate characters such as `x` and `y` in `"x{foo}y{bar}z"`
fn consume_all_placeholders<'a>(
placeholders: &mut Vec<FormatPart>,
text: &'a str,