We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce500fb commit 24d7d4fCopy full SHA for 24d7d4f
packages/async-rewriter3/src/lib.rs
@@ -483,7 +483,7 @@ pub fn async_rewrite(input: String, with_debug_tags: bool) -> String {
483
let mut previous_offset = 0;
484
let mut result = String::with_capacity(input.len() + insertions.list.iter().map(|s| s.len()).sum::<usize>());
485
let mut debug_tag = "".to_string();
486
- for insertion in insertions.list.iter() {
+ for insertion in insertions.list {
487
if usize::from(insertion.offset) != previous_offset {
488
assert!(usize::from(insertion.offset) >= previous_offset);
489
result.push_str(&input[previous_offset..insertion.offset.into()]);
0 commit comments