A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/lsp.rs')
-rw-r--r--src/lsp.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lsp.rs b/src/lsp.rs
index 9351e87..78d6652 100644
--- a/src/lsp.rs
+++ b/src/lsp.rs
@@ -1211,25 +1211,6 @@ impl<T, R, D, E> Rq<T, R, D, E> {
}
}
-pub trait RedrawAfter {
- fn redraw_after<T, F: Future<Output = T>>(
- &self,
- f: F,
- ) -> impl Future<Output = T> + use<Self, T, F>;
-}
-impl RedrawAfter for Arc<Window> {
- fn redraw_after<T, F: Future<Output = T>>(
- &self,
- f: F,
- ) -> impl Future<Output = T> + use<T, F> {
- let w: Arc<Window> = self.clone();
- f.map(move |x| {
- w.request_redraw();
- x
- })
- }
-}
-
pub trait PathURI {
fn tid(&self) -> TextDocumentIdentifier;
}