Skip to content

Commit 5f750cf

Browse files
committed
---
yaml --- r: 214815 b: refs/heads/beta c: aebf331 h: refs/heads/master i: 214813: 296a4c2 214811: bb084c6 214807: e6d02de 214799: 37746a1 214783: ed024ff v: v3
1 parent 0d32aa6 commit 5f750cf

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
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: f65ba38cc4d69089575580807b262a029b53c0e2
26+
refs/heads/beta: aebf331431eeac6e91eba5072e2ee7f171cd1244
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/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)