Skip to content

Commit 73450f0

Browse files
committed
---
yaml --- r: 52137 b: refs/heads/dist-snap c: 73649f3 h: refs/heads/master i: 52135: 9b666b7 v: v3
1 parent 2af81d1 commit 73450f0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: 0429493363414d5be8e028812fd01a8a309ef24e
10+
refs/heads/dist-snap: 73649f36e8092006560e5d48213fcf067de38a6f
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libcore/extfmt.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,13 @@ pub mod ct {
102102
use str;
103103
use vec;
104104

105+
#[deriving_eq]
105106
pub enum Signedness { Signed, Unsigned, }
106107

108+
#[deriving_eq]
107109
pub enum Caseness { CaseUpper, CaseLower, }
108110

111+
#[deriving_eq]
109112
pub enum Ty {
110113
TyBool,
111114
TyStr,
@@ -118,6 +121,7 @@ pub mod ct {
118121
TyPoly,
119122
}
120123

124+
#[deriving_eq]
121125
pub enum Flag {
122126
FlagLeftJustify,
123127
FlagLeftZeroPad,
@@ -126,13 +130,15 @@ pub mod ct {
126130
FlagAlternate,
127131
}
128132

133+
#[deriving_eq]
129134
pub enum Count {
130135
CountIs(uint),
131136
CountIsParam(uint),
132137
CountIsNextParam,
133138
CountImplied,
134139
}
135140

141+
#[deriving_eq]
136142
struct Parsed<T> {
137143
val: T,
138144
next: uint
@@ -145,6 +151,7 @@ pub mod ct {
145151
}
146152

147153
// A formatted conversion from an expression to a string
154+
#[deriving_eq]
148155
pub struct Conv {
149156
param: Option<uint>,
150157
flags: ~[Flag],
@@ -154,6 +161,7 @@ pub mod ct {
154161
}
155162

156163
// A fragment of the output sequence
164+
#[deriving_eq]
157165
pub enum Piece { PieceString(~str), PieceConv(Conv), }
158166

159167
pub type ErrorFn = @fn(&str) -> !;

0 commit comments

Comments
 (0)