mirror of https://github.com/helix-editor/helix
refactor: do not use unnecessary type hint
parent
26c230cea0
commit
6576e92333
|
@ -1068,10 +1068,8 @@ mod test {
|
|||
|
||||
#[test]
|
||||
fn switching_views_resets_mouse_clicks() {
|
||||
use slotmap::HopSlotMap;
|
||||
|
||||
let mut mouse_clicks = MouseClicks::new();
|
||||
let mut view_ids: HopSlotMap<ViewId, ()> = HopSlotMap::with_key();
|
||||
let mut view_ids = slotmap::HopSlotMap::with_key();
|
||||
let view1 = view_ids.insert(());
|
||||
let view2 = view_ids.insert(());
|
||||
|
||||
|
|
Loading…
Reference in New Issue