Skip to content

Commit 614d153

Browse files
---
yaml --- r: 124254 b: refs/heads/try c: e4801da h: refs/heads/master v: v3
1 parent e7d21bf commit 614d153

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 6c35d513cea468b30759b4f78becf28f11a123c0
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: afbcbbc77ffc6b10053bc543daf7d2e05d68cc01
5-
refs/heads/try: 4e2da7cb79143b0e7206a684629ed942599ec8e9
5+
refs/heads/try: e4801da62fb984981554864b3f196736b5c303e3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/result.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,7 @@ impl<T, E> Result<T, E> {
536536
impl<T, E: Show> Result<T, E> {
537537
/// Unwraps a result, yielding the content of an `Ok`.
538538
///
539-
/// # Failure
540-
///
541-
/// Fails if the value is an `Err`, with a custom failure message provided
542-
/// by the `Err`'s value.
539+
/// Fails if the value is an `Err`.
543540
#[inline]
544541
pub fn unwrap(self) -> T {
545542
match self {
@@ -553,10 +550,7 @@ impl<T, E: Show> Result<T, E> {
553550
impl<T: Show, E> Result<T, E> {
554551
/// Unwraps a result, yielding the content of an `Err`.
555552
///
556-
/// # Failure
557-
///
558-
/// Fails if the value is an `Ok`, with a custom failure message provided
559-
/// by the `Ok`'s value.
553+
/// Fails if the value is an `Ok`.
560554
#[inline]
561555
pub fn unwrap_err(self) -> E {
562556
match self {

branches/try/src/libglob/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -601,21 +601,21 @@ pub struct MatchOptions {
601601
* currently only considers upper/lower case relationships between ASCII characters,
602602
* but in future this might be extended to work with Unicode.
603603
*/
604-
case_sensitive: bool,
604+
pub case_sensitive: bool,
605605

606606
/**
607607
* If this is true then path-component separator characters (e.g. `/` on Posix)
608608
* must be matched by a literal `/`, rather than by `*` or `?` or `[...]`
609609
*/
610-
require_literal_separator: bool,
610+
pub require_literal_separator: bool,
611611

612612
/**
613613
* If this is true then paths that contain components that start with a `.` will
614614
* not match unless the `.` appears literally in the pattern: `*`, `?` or `[...]`
615615
* will not match. This is useful because such files are conventionally considered
616616
* hidden on Unix systems and it might be desirable to skip them when listing files.
617617
*/
618-
require_literal_leading_dot: bool
618+
pub require_literal_leading_dot: bool
619619
}
620620

621621
impl MatchOptions {

branches/try/src/libstd/io/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ pub type IoResult<T> = Result<T, IoError>;
293293
/// # FIXME
294294
///
295295
/// Is something like this sufficient? It's kind of archaic
296-
#[deriving(PartialEq, Eq, Clone)]
296+
#[deriving(PartialEq, Clone)]
297297
pub struct IoError {
298298
/// An enumeration which can be matched against for determining the flavor
299299
/// of error.
@@ -435,7 +435,7 @@ impl fmt::Show for IoError {
435435
}
436436

437437
/// A list specifying general categories of I/O error.
438-
#[deriving(PartialEq, Eq, Clone, Show)]
438+
#[deriving(PartialEq, Clone, Show)]
439439
pub enum IoErrorKind {
440440
/// Any I/O error not part of this list.
441441
OtherIoError,

0 commit comments

Comments
 (0)