Remove space after negative sign in Literal to_string
This commit is contained in:
parent
d5fd37f00f
commit
3744dc8687
4 changed files with 8 additions and 4 deletions
|
@ -582,6 +582,9 @@ impl server::Literal for Rustc<'_> {
|
|||
|
||||
Ok(Literal { lit, span: self.call_site })
|
||||
}
|
||||
fn to_string(&mut self, literal: &Self::Literal) -> String {
|
||||
literal.lit.to_string()
|
||||
}
|
||||
fn debug_kind(&mut self, literal: &Self::Literal) -> String {
|
||||
format!("{:?}", literal.lit.kind)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue