Skip to content

Commit b857098

Browse files
---
yaml --- r: 153405 b: refs/heads/try2 c: e4801da h: refs/heads/master i: 153403: 9326626 v: v3
1 parent ef1785a commit b857098

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 4e2da7cb79143b0e7206a684629ed942599ec8e9
8+
refs/heads/try2: e4801da62fb984981554864b3f196736b5c303e3
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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