Wrap a bunch of traits for Unclipped<T>

This commit is contained in:
Julia
2022-11-21 15:58:44 -05:00
parent 1c84e77c37
commit 8c75df30cb
5 changed files with 81 additions and 13 deletions
+1
View File
@@ -1337,6 +1337,7 @@ fn test_random_collaboration(cx: &mut MutableAppContext, mut rng: StdRng) {
(0..entry_count).map(|_| {
let range = buffer.random_byte_range(0, &mut rng);
let range = range.to_point_utf16(buffer);
let range = Unclipped(range.start)..Unclipped(range.end);
DiagnosticEntry {
range,
diagnostic: Diagnostic {