Skip to content

Commit 9162b62

Browse files
committed
---
yaml --- r: 151743 b: refs/heads/try2 c: 3c06a03 h: refs/heads/master i: 151741: 0011db6 151739: c74db03 151735: e123210 151727: 3c8b18d 151711: 4d7aa39 151679: 48e32f9 v: v3
1 parent 954a071 commit 9162b62

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
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: 27d8ea05a257af534579c5ecef79d45781f3a8f0
8+
refs/heads/try2: 3c06a0328a3c6824ff7578a6da46e133e9399854
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libcore/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub trait TotalEq: Eq {
8282
}
8383

8484
/// An ordering is, e.g, a result of a comparison between two values.
85-
#[deriving(Clone, Eq)]
85+
#[deriving(Clone, Eq, Show)]
8686
pub enum Ordering {
8787
/// An ordering where a compared value is less [than another].
8888
Less = -1,

branches/try2/src/libcore/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ extern "rust-intrinsic" {
471471
/// `TypeId` represents a globally unique identifier for a type
472472
#[lang="type_id"] // This needs to be kept in lockstep with the code in trans/intrinsic.rs and
473473
// middle/lang_items.rs
474-
#[deriving(Eq, TotalEq)]
474+
#[deriving(Eq, TotalEq, Show)]
475475
#[cfg(not(test))]
476476
pub struct TypeId {
477477
t: u64,

branches/try2/src/libcore/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ impl<A: TotalOrd, T: Iterator<A>> OrdIterator<A> for T {
969969
}
970970

971971
/// `MinMaxResult` is an enum returned by `min_max`. See `OrdIterator::min_max` for more detail.
972-
#[deriving(Clone, Eq)]
972+
#[deriving(Clone, Eq, Show)]
973973
pub enum MinMaxResult<T> {
974974
/// Empty iterator
975975
NoElements,

branches/try2/src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ use mem;
148148
use slice;
149149

150150
/// The `Option`
151-
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd)]
151+
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd, Show)]
152152
pub enum Option<T> {
153153
/// No value
154154
None,

branches/try2/src/libcore/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ use option::{None, Option, Some};
275275
/// `Result` is a type that represents either success (`Ok`) or failure (`Err`).
276276
///
277277
/// See the [`std::result`](index.html) module documentation for details.
278-
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd)]
278+
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd, Show)]
279279
#[must_use]
280280
pub enum Result<T, E> {
281281
/// Contains the success value

branches/try2/src/libcore/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ pub struct UTF16Items<'a> {
542542
iter: slice::Items<'a, u16>
543543
}
544544
/// The possibilities for values decoded from a `u16` stream.
545-
#[deriving(Eq, TotalEq, Clone)]
545+
#[deriving(Eq, TotalEq, Clone, Show)]
546546
pub enum UTF16Item {
547547
/// A valid codepoint.
548548
ScalarValue(char),

0 commit comments

Comments
 (0)