Skip to content

Commit 0f8a33f

Browse files
committed
remove rope inline
1 parent 9b5beab commit 0f8a33f

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

src/cached_source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ impl Source for CachedSource {
107107
SourceValue::String(Cow::Owned(string))
108108
}
109109

110-
#[inline]
111110
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
112111
let chunks = self.get_or_init_chunks();
113112
chunks.iter().for_each(|chunk| on_chunk(chunk));

src/concat_source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ impl Source for ConcatSource {
177177
SourceValue::String(Cow::Owned(string))
178178
}
179179

180-
#[inline]
181180
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
182181
let children = self.optimized_children();
183182
children.iter().for_each(|child| {

src/original_source.rs

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

59-
#[inline]
6059
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
6160
on_chunk(self.value.as_ref())
6261
}

src/raw_source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ impl Source for RawStringSource {
6464
SourceValue::String(Cow::Borrowed(&self.0))
6565
}
6666

67-
#[inline]
6867
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
6968
on_chunk(self.0.as_ref())
7069
}

src/replace_source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ impl Source for ReplaceSource {
172172
SourceValue::String(Cow::Owned(string))
173173
}
174174

175-
#[inline]
176175
#[allow(unsafe_code)]
177176
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
178177
if self.replacements.is_empty() {

src/source_map_source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ impl Source for SourceMapSource {
9494
SourceValue::String(Cow::Borrowed(&self.value))
9595
}
9696

97-
#[inline]
9897
fn rope<'a>(&'a self, on_chunk: &mut dyn FnMut(&'a str)) {
9998
on_chunk(&self.value)
10099
}

0 commit comments

Comments
 (0)