Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Rename `view_type` to `state_type`
Marshall Bowersa08ceadd1af5
diff --git a/crates/ui2/src/components/collab_panel.rs b/crates/ui2/src/components/collab_panel.rsindex c435f7e9cdf..1baa082f1de 100644--- a/crates/ui2/src/components/collab_panel.rs+++ b/crates/ui2/src/components/collab_panel.rs@@ -11,14 +11,14 @@ use crate::{#[derive(Element)]pub struct CollabPanel<S: 'static + Send + Sync + Clone> {- view_type: PhantomData<S>,+ state_type: PhantomData<S>,scroll_state: ScrollState,}impl<S: 'static + Send + Sync + Clone> CollabPanel<S> {pub fn new(scroll_state: ScrollState) -> Self {Self {- view_type: PhantomData,+ state_type: PhantomData,scroll_state,}}