Skip to content

Commit f42767b

Browse files
committed
variable outp does not need to be mutable
1 parent c8fb031 commit f42767b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/finding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ macro_rules! filter {
295295
};
296296

297297
// Replace current string with filtered one
298-
let mut outp = &mut $fc.v.last_mut().unwrap().s;
298+
let outp = &mut $fc.v.last_mut().unwrap().s;
299299
outp.clear();
300300
outp.push_str(&*out);
301301
}

0 commit comments

Comments
 (0)