Skip to content

Commit b34a0a0

Browse files
committed
---
yaml --- r: 225351 b: refs/heads/stable c: aebf331 h: refs/heads/master i: 225349: 3f06212 225347: f2c06f5 225343: 5e3ed82 v: v3
1 parent c142a4d commit b34a0a0

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
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: f65ba38cc4d69089575580807b262a029b53c0e2
32+
refs/heads/stable: aebf331431eeac6e91eba5072e2ee7f171cd1244
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ impl Error {
187187
///
188188
/// If this `Error` was constructed via `new` then this function will
189189
/// return `Some`, otherwise it will return `None`.
190-
#[unstable(feature = "io_error_inner", reason = "recently added")]
190+
#[unstable(feature = "io_error_inner",
191+
reason = "recently added and requires UFCS to downcast")]
191192
pub fn get_ref(&self) -> Option<&(error::Error+Send+Sync+'static)> {
192193
match self.repr {
193194
Repr::Os(..) => None,
@@ -200,7 +201,8 @@ impl Error {
200201
///
201202
/// If this `Error` was constructed via `new` then this function will
202203
/// return `Some`, otherwise it will return `None`.
203-
#[unstable(feature = "io_error_inner", reason = "recently added")]
204+
#[unstable(feature = "io_error_inner",
205+
reason = "recently added and requires UFCS to downcast")]
204206
pub fn get_mut(&mut self) -> Option<&mut (error::Error+Send+Sync+'static)> {
205207
match self.repr {
206208
Repr::Os(..) => None,
@@ -212,7 +214,8 @@ impl Error {
212214
///
213215
/// If this `Error` was constructed via `new` then this function will
214216
/// return `Some`, otherwise it will return `None`.
215-
#[unstable(feature = "io_error_inner", reason = "recently added")]
217+
#[unstable(feature = "io_error_inner",
218+
reason = "recently added and requires UFCS to downcast")]
216219
pub fn into_inner(self) -> Option<Box<error::Error+Send+Sync>> {
217220
match self.repr {
218221
Repr::Os(..) => None,

0 commit comments

Comments
 (0)