Skip to content

Commit 22c07eb

Browse files
committed
inline OriginalSource rope
1 parent 6e46ac9 commit 22c07eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/original_source.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ impl Source for OriginalSource {
5656
SourceValue::String(Cow::Borrowed(&self.value))
5757
}
5858

59+
#[inline]
5960
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
6061
on_chunk(self.value.as_ref())
6162
}

0 commit comments

Comments
 (0)