From 5bcc154dffb0aa58eef270f9e7396ec440101ca5 Mon Sep 17 00:00:00 2001 From: Jakub Wieczorek Date: Sat, 20 Sep 2014 15:37:14 +0200 Subject: Remove unused enum variants --- src/libsyntax/ext/format.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index b760c893a10..1ed41e6870d 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -24,8 +24,7 @@ use std::string; #[deriving(PartialEq)] enum ArgumentType { Known(string::String), - Unsigned, - String, + Unsigned } enum Position { @@ -691,12 +690,6 @@ impl<'a, 'b> Context<'a, 'b> { } } } - String => { - return ecx.expr_call_global(sp, vec![ - ecx.ident_of("std"), - ecx.ident_of("fmt"), - ecx.ident_of("argumentstr")], vec![arg]) - } Unsigned => { return ecx.expr_call_global(sp, vec![ ecx.ident_of("std"), -- cgit 1.4.1-3-g733a5