Skip to content

Commit f0a3272

Browse files
committed
---
yaml --- r: 41589 b: refs/heads/master c: 73649f3 h: refs/heads/master i: 41587: b4c0dba v: v3
1 parent 63ccd64 commit f0a3272

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0429493363414d5be8e028812fd01a8a309ef24e
2+
refs/heads/master: 73649f36e8092006560e5d48213fcf067de38a6f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/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)