]> git.lizzy.rs Git - rust.git/blobdiff - src/macros.rs
Remove has_prefix_space
[rust.git] / src / macros.rs
index d6420af764b04fb6b1c0ed755b6027ab46c31c17..e600b1196784d95aba04e35059df5d7c83d5fcae 100644 (file)
@@ -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,