|
|
@ -372,10 +372,11 @@ extension_trait! {
|
|
|
|
fn chain<R: Read>(self, next: R) -> Chain<Self, R> where Self: Sized {
|
|
|
|
fn chain<R: Read>(self, next: R) -> Chain<Self, R> where Self: Sized {
|
|
|
|
Chain { first: self, second: next, done_first: false }
|
|
|
|
Chain { first: self, second: next, done_first: false }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl<T: Read + ?Sized> ReadExt for T {}
|
|
|
|
|
|
|
|
|
|
|
|
/// Initializes a buffer if necessary.
|
|
|
|
/// Initializes a buffer if necessary.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// Currently, a buffer is always initialized because `read_initializer`
|
|
|
|
/// Currently, a buffer is always initialized because `read_initializer`
|
|
|
|