pass clippy
This commit is contained in:
1 parent
7730401288
commit
f1f9f0df1a
1 file changed
+1
-1
@@ -94,7 +94,7 @@ impl FromStr for IfmtInput {
|
|||||||
while let Some(c) = chars.next() {
|
while let Some(c) = chars.next() {
|
||||||
if c == ':' {
|
if c == ':' {
|
||||||
let mut current_format_args = String::new();
|
let mut current_format_args = String::new();
|
||||||
while let Some(c) = chars.next() {
|
for c in chars.by_ref() {
|
||||||
if c == '}' {
|
if c == '}' {
|
||||||
segments.push(Segment::Formatted {
|
segments.push(Segment::Formatted {
|
||||||
format_args: current_format_args,
|
format_args: current_format_args,
|
||||||
|
|||||||
Reference in new issue
Block a user