From c75e8d46c2fc576661c01f9eadb0866b3367ca4b Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Wed, 3 Dec 2014 22:46:09 +0200 Subject: core: remove the dead function fmt::argumentstr. --- src/libcore/fmt/mod.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 9b67cdd3e12..6180daebcc2 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -543,14 +543,6 @@ pub fn argument<'a, T>(f: extern "Rust" fn(&T, &mut Formatter) -> Result, } } -/// When the compiler determines that the type of an argument *must* be a string -/// (such as for select), then it invokes this method. -#[doc(hidden)] #[inline] -#[experimental = "implementation detail of the `format_args!` macro"] -pub fn argumentstr<'a>(s: &'a &str) -> Argument<'a> { - argument(Show::fmt, s) -} - /// When the compiler determines that the type of an argument *must* be a uint /// (such as for plural), then it invokes this method. #[doc(hidden)] #[inline] -- cgit 1.4.1-3-g733a5