Fill in some missing methods on MultiBuffer, MultiBufferSnapshot

This commit is contained in:
Max Brunsfeld
2021-12-10 14:27:04 -08:00
parent 5b31c1ba4e
commit a758bd4f8d
10 changed files with 287 additions and 189 deletions
+1
View File
@@ -3721,6 +3721,7 @@ mod tests {
buffer.read_with(&cx, |buffer, _| {
let diagnostics = buffer
.snapshot()
.diagnostics_in_range::<_, Point>(0..buffer.len())
.collect::<Vec<_>>();
assert_eq!(