(prefix: char, depth: usize)
| 538 | } |
| 539 | |
| 540 | fn nested_format_spec(prefix: char, depth: usize) -> String { |
| 541 | let mut replacement_field = String::from("{spec}"); |
| 542 | for _ in 0..depth { |
| 543 | replacement_field = format!("{{foo:{replacement_field}}}"); |
| 544 | } |
| 545 | format!(r#"{prefix}"{replacement_field}""#) |
| 546 | } |
| 547 | |
| 548 | fn string_parser_escaped_eol(eol: &str) -> Suite { |
| 549 | let source = format!(r"'text \{eol}more text'"); |
nothing calls this directly
no outgoing calls
no test coverage detected