mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
Remove has_prefix_space
This commit is contained in:
parent
ec71459c44
commit
95507e3a43
@ -519,15 +519,6 @@ impl MacroArgKind {
|
||||
}
|
||||
}
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user