From 9e64974f13e91470be7b411285b7a33c698da3aa Mon Sep 17 00:00:00 2001
From: Skyler Hawthorne
Date: Fri, 16 Sep 2022 23:32:25 -0400
Subject: remove Document::format_and_save
---
helix-view/src/document.rs | 43 +++----------------------------------------
1 file changed, 3 insertions(+), 40 deletions(-)
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index ff64689e..4a09bedc 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -520,32 +520,12 @@ impl Document {
path: Option
,
force: bool,
) -> Result<(), anyhow::Error> {
- self.save_impl::, _>(None, path, force)
- }
-
- pub fn format_and_save(
- &mut self,
- formatting: Option,
- path: Option,
- force: bool,
- ) -> anyhow::Result<()>
- where
- F: Future