We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f41f0 commit 1a2a897Copy full SHA for 1a2a897
src/libcore/extfmt.rs
@@ -130,12 +130,12 @@ pub mod ct {
130
}
131
132
// A formatted conversion from an expression to a string
133
- pub type Conv =
+ pub struct Conv
134
{param: Option<uint>,
135
flags: ~[Flag],
136
width: Count,
137
precision: Count,
138
- ty: Ty};
+ ty: Ty}
139
140
141
// A fragment of the output sequence
@@ -208,7 +208,7 @@ pub mod ct {
208
let prec = parse_precision(s, width.next, lim);
209
let ty = parse_type(s, prec.next, lim, err);
210
return {piece:
211
- PieceConv({param: parm.param,
+ PieceConv(Conv {param: parm.param,
212
flags: copy flags.flags,
213
width: width.count,
214
precision: prec.count,
0 commit comments