Skip to content

Commit 85c8c4b

Browse files
fix: impl Debug for NamedSource missing call to .finish()
Fixes #449
1 parent c1daafd commit 85c8c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/named_source.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ impl<S: SourceCode> std::fmt::Debug for NamedSource<S> {
1616
f.debug_struct("NamedSource")
1717
.field("name", &self.name)
1818
.field("source", &"<redacted>")
19-
.field("language", &self.language);
20-
Ok(())
19+
.field("language", &self.language)
20+
.finish()
2121
}
2222
}
2323

0 commit comments

Comments
 (0)