From afc95ed19db8ded044d3b9b916fa0194cb882d0b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 22 Aug 2023 14:21:04 +0200 Subject: Virtual path type Fixes #1937 --- crates/typst-syntax/src/source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-syntax/src/source.rs') 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()) } } -- cgit v1.2.3