Snapshot file instead of path when creating a buffer snapshot
This commit is contained in:
@@ -126,7 +126,7 @@ impl Debug for TransformBlock {
|
||||
Self::Custom(block) => f.debug_struct("Custom").field("block", block).finish(),
|
||||
Self::ExcerptHeader { buffer, .. } => f
|
||||
.debug_struct("ExcerptHeader")
|
||||
.field("path", &buffer.path())
|
||||
.field("path", &buffer.file().map(|f| f.path()))
|
||||
.finish(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user