diff --git a/crates/language/src/buffer.rs b/crates/language/src/buffer.rs index b8d1aad91b..55346fc9dd 100644 --- a/crates/language/src/buffer.rs +++ b/crates/language/src/buffer.rs @@ -28,7 +28,6 @@ use std::{ time::{Duration, Instant, SystemTime, UNIX_EPOCH}, vec, }; -use text::subscription::Subscription; pub use text::{Buffer as TextBuffer, Operation as _, *}; use theme::SyntaxTheme; use tree_sitter::{InputEdit, Parser, QueryCursor, Tree}; diff --git a/crates/text/src/text.rs b/crates/text/src/text.rs index f52a76c3e4..3a19977fa5 100644 --- a/crates/text/src/text.rs +++ b/crates/text/src/text.rs @@ -32,7 +32,7 @@ use std::{ sync::Arc, time::{Duration, Instant}, }; -use subscription::{Subscription, Topic}; +pub use subscription::*; pub use sum_tree::Bias; use sum_tree::{FilterCursor, SumTree};