We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4e42f commit 773b25aCopy full SHA for 773b25a
src/changes.rs
@@ -87,8 +87,8 @@ impl<'a> Serialize for RSpan<'a> {
87
let hi = self.0.source_map().lookup_char_pos(self.1.hi());
88
89
assert!(lo.file.name == hi.file.name);
90
- let file_name = if let FileName::Real(ref p) = lo.file.name {
91
- format!("{}", p.display())
+ let file_name = if let FileName::Real(ref name) = lo.file.name {
+ format!("{}", name.local_path().display())
92
} else {
93
"no file name".to_owned()
94
};
0 commit comments