Make MultiBuffer::is_parsing a test-only method

This commit is contained in:
Antonio Scandurra 2021-12-17 14:57:24 +01:00
parent 3914d1d072
commit a2ee38f37b

View file

@ -689,6 +689,7 @@ impl MultiBuffer {
self.as_singleton().unwrap().read(cx).has_conflict()
}
#[cfg(test)]
pub fn is_parsing(&self, cx: &AppContext) -> bool {
self.as_singleton().unwrap().read(cx).is_parsing()
}