File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -454,13 +454,17 @@ impl<W: Read + Write> Read for InternalBufWriter<W> {
454
454
#[ unstable( feature = "buf_stream" ,
455
455
reason = "unsure about semantics of buffering two directions, \
456
456
leading to issues like #17136") ]
457
+ #[ deprecated( since = "1.2.0" ,
458
+ reason = "use the crates.io `bufstream` crate instead" ) ]
457
459
pub struct BufStream < S : Write > {
458
460
inner : BufReader < InternalBufWriter < S > >
459
461
}
460
462
461
463
#[ unstable( feature = "buf_stream" ,
462
464
reason = "unsure about semantics of buffering two directions, \
463
465
leading to issues like #17136") ]
466
+ #[ deprecated( since = "1.2.0" ,
467
+ reason = "use the crates.io `bufstream` crate instead" ) ]
464
468
impl < S : Read + Write > BufStream < S > {
465
469
/// Creates a new buffered stream with explicitly listed capacities for the
466
470
/// reader/writer buffer.
You can’t perform that action at this time.
0 commit comments