File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11//! ### Cursor Controller
2- //! A [Controller] implementation for [crate::api::Cursor] actions in a [crate::Workspace]
2+ //! A [Controller] implementation for cursor actions in a [crate::Workspace].
33
44use std:: sync:: Arc ;
55
@@ -12,7 +12,7 @@ use crate::{
1212} ;
1313use codemp_proto:: cursor:: { CursorEvent , CursorUpdate , cursor_client:: CursorClient } ;
1414
15- /// A [Controller] for asynchronously sending and receiving [Cursor] event .
15+ /// A [Controller] for asynchronously sending and receiving [CursorEvent]s .
1616///
1717/// An unique [CursorController] exists for each active [crate::Workspace].
1818#[ derive( Debug , Clone ) ]
Original file line number Diff line number Diff line change 4242//! # };
4343//! ```
4444//!
45- //! A [`Workspace`] handle can be used to acquire a [`cursor::Controller`] to track remote [`api::Cursor`]s
46- //! and one or more [`buffer::Controller`] to send and receive [`api::TextChange`]s.
45+ //! A [`Workspace`] handle can be used to acquire a [`cursor::Controller`] to track remote
46+ //! [`proto::cursor::CursorEvent`]s and one or more [`buffer::Controller`] to send and receive
47+ //! [`api::TextChange`]s.
4748//!
4849//! ```no_run
4950//! # async {
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ impl Workspace {
310310 Ok ( ( ) )
311311 }
312312
313- /// Fetch a list of the [User]s attached to a specific buffer.
313+ /// Re-fetch the list of users attached to the given buffer. .
314314 pub async fn fetch_buffer_users ( & self , path : impl ToString ) -> RemoteResult < ( ) > {
315315 let path = path. to_string ( ) ;
316316 let resp = self
You can’t perform that action at this time.
0 commit comments