Skip to content

Commit 9eb87d6

Browse files
committed
perf: inline next
1 parent 62de843 commit 9eb87d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/replace_source.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ impl<'a> Iterator for ReplaceSourceRopeIterator<'a> {
853853
type Item = &'a str;
854854

855855
#[allow(unsafe_code)]
856+
#[inline]
856857
fn next(&mut self) -> Option<Self::Item> {
857858
loop {
858859
// Load next chunk (if needed)

0 commit comments

Comments
 (0)