Skip to content

Commit 491ebfc

Browse files
committed
fix(stream): Make raw() inner-most
Fixes #773
1 parent 3752daf commit 491ebfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stream/locating.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl<I: Stream> Stream for LocatingSlice<I> {
174174

175175
#[inline(always)]
176176
fn raw(&self) -> &dyn crate::lib::std::fmt::Debug {
177-
&self.input
177+
self.input.raw()
178178
}
179179
}
180180

src/stream/stateful.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl<I: Stream, S: crate::lib::std::fmt::Debug> Stream for Stateful<I, S> {
162162

163163
#[inline(always)]
164164
fn raw(&self) -> &dyn crate::lib::std::fmt::Debug {
165-
&self.input
165+
self.input.raw()
166166
}
167167
}
168168

0 commit comments

Comments
 (0)