Skip to content

Commit 47decad

Browse files
committed
---
yaml --- r: 225949 b: refs/heads/stable c: 0d818b4 h: refs/heads/master i: 225947: 176d9a0 v: v3
1 parent 3ea1a31 commit 47decad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 2d389c125e2ba7fdb6762120e1fa4e783fa7adad
32+
refs/heads/stable: 0d818b4ee4a978babc8781ece028a7d0e9ed2e36
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/libstd/io/buffered.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,13 +454,17 @@ impl<W: Read + Write> Read for InternalBufWriter<W> {
454454
#[unstable(feature = "buf_stream",
455455
reason = "unsure about semantics of buffering two directions, \
456456
leading to issues like #17136")]
457+
#[deprecated(since = "1.2.0",
458+
reason = "use the crates.io `bufstream` crate instead")]
457459
pub struct BufStream<S: Write> {
458460
inner: BufReader<InternalBufWriter<S>>
459461
}
460462

461463
#[unstable(feature = "buf_stream",
462464
reason = "unsure about semantics of buffering two directions, \
463465
leading to issues like #17136")]
466+
#[deprecated(since = "1.2.0",
467+
reason = "use the crates.io `bufstream` crate instead")]
464468
impl<S: Read + Write> BufStream<S> {
465469
/// Creates a new buffered stream with explicitly listed capacities for the
466470
/// reader/writer buffer.

0 commit comments

Comments
 (0)