Wrap a bunch of traits for Unclipped<T>

This commit is contained in:
Julia 2022-11-21 11:47:46 -05:00
parent 1c84e77c37
commit 8c75df30cb
5 changed files with 81 additions and 13 deletions

View file

@ -500,7 +500,10 @@ impl LocalWorktree {
})
}
pub fn diagnostics_for_path(&self, path: &Path) -> Option<Vec<DiagnosticEntry<Unclipped<PointUtf16>>>> {
pub fn diagnostics_for_path(
&self,
path: &Path,
) -> Option<Vec<DiagnosticEntry<Unclipped<PointUtf16>>>> {
self.diagnostics.get(path).cloned()
}