Skip to content

Commit 1a2a897

Browse files
committed
fmt: replace Conv record with struct Conv
1 parent 53f41f0 commit 1a2a897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/extfmt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ pub mod ct {
130130
}
131131

132132
// A formatted conversion from an expression to a string
133-
pub type Conv =
133+
pub struct Conv
134134
{param: Option<uint>,
135135
flags: ~[Flag],
136136
width: Count,
137137
precision: Count,
138-
ty: Ty};
138+
ty: Ty}
139139

140140

141141
// A fragment of the output sequence
@@ -208,7 +208,7 @@ pub mod ct {
208208
let prec = parse_precision(s, width.next, lim);
209209
let ty = parse_type(s, prec.next, lim, err);
210210
return {piece:
211-
PieceConv({param: parm.param,
211+
PieceConv(Conv {param: parm.param,
212212
flags: copy flags.flags,
213213
width: width.count,
214214
precision: prec.count,

0 commit comments

Comments
 (0)