diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-08-22 14:21:04 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-08-22 14:21:04 +0200 |
| commit | afc95ed19db8ded044d3b9b916fa0194cb882d0b (patch) | |
| tree | ae9f5aa62398c1c81efe1f6d046fb2d631cb1c1c /crates/typst-syntax/src/source.rs | |
| parent | 756bdb623c9deda1458506b1783a66d92f2d9414 (diff) | |
Virtual path type
Fixes #1937
Diffstat (limited to 'crates/typst-syntax/src/source.rs')
| -rw-r--r-- | crates/typst-syntax/src/source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-syntax/src/source.rs b/crates/typst-syntax/src/source.rs index 25b3b86c..036499ab 100644 --- a/crates/typst-syntax/src/source.rs +++ b/crates/typst-syntax/src/source.rs @@ -241,7 +241,7 @@ impl Source { impl Debug for Source { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "Source({})", self.id().path().display()) + write!(f, "Source({:?})", self.id().vpath()) } } |
