From 1a2a8975bc92b0ebae90d7d9a0cfffec08ec5cf4 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Mon, 7 Jan 2013 14:17:48 -0500 Subject: [PATCH] fmt: replace Conv record with struct Conv --- src/libcore/extfmt.rs | 6 +++--- 1 file 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, 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,