Skip to content

Commit fc1a0e4

Browse files
梶塚太智thejustcube
authored andcommitted
Update main.rs
modified: src/main.rs
1 parent e51fd46 commit fc1a0e4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,16 @@ impl Executor {
288288
if parentheses == 0 && brackets == 0 && !hash {
289289
if escape {
290290
<<<<<<< HEAD
291+
<<<<<<< HEAD
292+
=======
293+
>>>>>>> 416f9ec (Update main.rs)
291294
match c {
292295
'n' => buffer.push_str("\\n"),
293296
't' => buffer.push_str("\\t"),
294297
'r' => buffer.push_str("\\r"),
295298
_ => buffer.push(c),
296299
}
300+
<<<<<<< HEAD
297301
=======
298302
buffer.push(match c {
299303
'n' => '\n',
@@ -302,6 +306,8 @@ impl Executor {
302306
_ => c,
303307
})
304308
>>>>>>> e0ee7bf (Add string escape)
309+
=======
310+
>>>>>>> 416f9ec (Update main.rs)
305311
} else {
306312
buffer.push(c);
307313
}
@@ -384,12 +390,16 @@ impl Executor {
384390
if parentheses == 0 && brackets == 0 && !hash {
385391
if escape {
386392
<<<<<<< HEAD
393+
<<<<<<< HEAD
394+
=======
395+
>>>>>>> 416f9ec (Update main.rs)
387396
match c {
388397
'n' => buffer.push_str("\\n"),
389398
't' => buffer.push_str("\\t"),
390399
'r' => buffer.push_str("\\r"),
391400
_ => buffer.push(c),
392401
}
402+
<<<<<<< HEAD
393403
=======
394404
buffer.push(match c {
395405
'n' => '\n',
@@ -398,6 +408,8 @@ impl Executor {
398408
_ => c,
399409
})
400410
>>>>>>> e0ee7bf (Add string escape)
411+
=======
412+
>>>>>>> 416f9ec (Update main.rs)
401413
} else {
402414
buffer.push(c);
403415
}

0 commit comments

Comments
 (0)