diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2013-01-07 14:17:48 -0500 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2013-01-07 17:22:01 -0500 |
| commit | 1a2a8975bc92b0ebae90d7d9a0cfffec08ec5cf4 (patch) | |
| tree | 9f2d14524d510ec9d1aa39a6dc798873bd9a95f9 /src/libcore | |
| parent | 53f41f07ce2811a975ea6362d6a07b070d4bdf77 (diff) | |
| download | rust-1a2a8975bc92b0ebae90d7d9a0cfffec08ec5cf4.tar.gz rust-1a2a8975bc92b0ebae90d7d9a0cfffec08ec5cf4.zip | |
fmt: replace Conv record with struct Conv
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/extfmt.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/extfmt.rs b/src/libcore/extfmt.rs index 5d7e0306b06..5033b9ae405 100644 --- a/src/libcore/extfmt.rs +++ b/src/libcore/extfmt.rs @@ -130,12 +130,12 @@ pub mod ct { } // A formatted conversion from an expression to a string - pub type Conv = + pub struct Conv {param: Option<uint>, flags: ~[Flag], width: Count, precision: Count, - ty: Ty}; + ty: Ty} // A fragment of the output sequence @@ -208,7 +208,7 @@ pub mod ct { let prec = parse_precision(s, width.next, lim); let ty = parse_type(s, prec.next, lim, err); return {piece: - PieceConv({param: parm.param, + PieceConv(Conv {param: parm.param, flags: copy flags.flags, width: width.count, precision: prec.count, |
