diff options
author | Blaž Hrastnik | 2022-10-16 14:46:34 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-10-19 02:31:39 +0000 |
commit | 2a43ee016453e39e2cc4cae510ce7d75606e7199 (patch) | |
tree | 394e220cabdb7c4241052dc3a18e85bb60251bf1 /helix-view/src | |
parent | 1b6f7319cd605366de109f25821c6b84860f2a11 (diff) |
doc.close() now unused
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/document.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 9fa1241e..78c6d032 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -601,14 +601,6 @@ impl Document { Ok(future) } - /// Prepares the Document for being closed by stopping any new writes - /// and flushing through the queue of pending writes. If any fail, - /// it stops early before emptying the rest of the queue. - pub async fn close(&mut self) -> Option<DocumentSavedEventResult> { - // TODO - None - } - /// Detect the programming language based on the file type. pub fn detect_language(&mut self, config_loader: Arc<syntax::Loader>) { if let Some(path) = &self.path { |