From 95507e3a4369404443787ac835b2c377c685472b Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Sun, 18 Mar 2018 12:33:30 +0900 Subject: [PATCH] Remove has_prefix_space --- src/macros.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/macros.rs b/src/macros.rs index d6420af764b..e600b119678 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -519,15 +519,6 @@ fn ends_with_space(&self) -> bool { } } - fn has_prefix_space(&self) -> bool { - match *self { - MacroArgKind::Separator(_, ref prefix) | MacroArgKind::Other(_, ref prefix) => { - prefix.starts_with(" ") - } - _ => false, - } - } - fn rewrite( &self, context: &RewriteContext, -- 2.44.0