Remove mutex usage from *Map contents

This commit is contained in:
Kirill Bulatov 2023-06-25 17:09:34 +03:00
parent acef5ff195
commit dfb30218ca
4 changed files with 16 additions and 18 deletions

View file

@ -1090,7 +1090,7 @@ mod tests {
log::info!("InlayMap text: {:?}", inlay_snapshot.text());
let (mut fold_map, fold_snapshot) = FoldMap::new(inlay_snapshot.clone());
log::info!("FoldMap text: {:?}", fold_snapshot.text());
let (tab_map, _) = TabMap::new(fold_snapshot.clone(), tab_size);
let (mut tab_map, _) = TabMap::new(fold_snapshot.clone(), tab_size);
let tabs_snapshot = tab_map.set_max_expansion_column(32);
log::info!("TabMap text: {:?}", tabs_snapshot.text());