Make BlockMap::sync private

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-11-19 15:44:19 +01:00
co-authored by Nathan Sobo
parent dfbfa86548
commit 61d8848b31
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ impl BlockMap {
BlockMapWriter(self)
}
pub fn sync(&self, wrap_snapshot: &WrapSnapshot, edits: Vec<WrapEdit>, cx: &AppContext) {
fn sync(&self, wrap_snapshot: &WrapSnapshot, edits: Vec<WrapEdit>, cx: &AppContext) {
if edits.is_empty() {
return;
}