Make resolving selections generic
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
Max Brunsfeld
parent
a26b066788
commit
9dc3c74260
@@ -3538,7 +3538,7 @@ mod tests {
|
||||
let cursor_positions = buffer
|
||||
.selection_set(selection_set_id)
|
||||
.unwrap()
|
||||
.point_selections(&*buffer)
|
||||
.selections::<Point, _>(&*buffer)
|
||||
.map(|selection| {
|
||||
assert_eq!(selection.start, selection.end);
|
||||
selection.start
|
||||
|
||||
Reference in New Issue
Block a user