docs and line/offset numbers in paths
This commit is contained in:
parent
af09bcd403
commit
2d9a029130
9 changed files with 366 additions and 116 deletions
|
|
@ -161,8 +161,9 @@ impl<'a> Display for Token<'a> {
|
|||
|
||||
impl<'a> Display for Delimited<'a> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
if let Some(prefix) = &self.prefix {
|
||||
if let Some((prefix, space)) = &self.prefix {
|
||||
write!(f, "{prefix}")?;
|
||||
write!(f, "{space}")?;
|
||||
}
|
||||
self.delimiter.fmt_start(f)?;
|
||||
write!(f, "{}", self.contents)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue