mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
Make MultiBuffer::is_parsing
a test-only method
This commit is contained in:
parent
3914d1d072
commit
a2ee38f37b
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue