Skip to content

Commit 2148dd1

Browse files
committed
docs: fixed broken doc links
1 parent 955197f commit 2148dd1

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/cursor/controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
44
use std::sync::Arc;
55

@@ -12,7 +12,7 @@ use crate::{
1212
};
1313
use 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)]

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
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 {

src/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)