From a47dcbc8da9f7995909876fc2a9319cc1b0a1101 Mon Sep 17 00:00:00 2001 From: Alex Kesling Date: Mon, 22 Jun 2026 15:29:33 -0400 Subject: [PATCH] docs(cursor): qualify intra-doc links to methods with Self:: `[`list_composers`]` (io.rs) and `[`composer_has_bubbles`]` (reader.rs) are methods, so a bare link can't resolve in rustdoc's scope and fails under `-D rustdoc::broken-intra-doc-links`. Qualify both with `Self::`, matching the existing `[`CursorIO::list_composers`]` style elsewhere in the crate. Fixes `cargo doc --workspace` (the release-check doc gate). --- crates/toolpath-cursor/src/io.rs | 2 +- crates/toolpath-cursor/src/reader.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/toolpath-cursor/src/io.rs b/crates/toolpath-cursor/src/io.rs index 8a40261..1d4ceaf 100644 --- a/crates/toolpath-cursor/src/io.rs +++ b/crates/toolpath-cursor/src/io.rs @@ -52,7 +52,7 @@ impl CursorIO { } /// All composer ids known to the database, including drafts. Use - /// [`list_composers`] when you only want sessions that have at + /// [`Self::list_composers`] when you only want sessions that have at /// least one bubble on disk. pub fn list_composer_ids(&self) -> Result> { self.open_db()?.list_composer_ids() diff --git a/crates/toolpath-cursor/src/reader.rs b/crates/toolpath-cursor/src/reader.rs index 608a2aa..87f8f2d 100644 --- a/crates/toolpath-cursor/src/reader.rs +++ b/crates/toolpath-cursor/src/reader.rs @@ -72,7 +72,7 @@ impl DbReader { /// All composer ids known to the DB, in the order they appear in /// `composer.composerHeaders.allComposers`. Composers with no - /// bubbles are included — call [`composer_has_bubbles`] to filter + /// bubbles are included — call [`Self::composer_has_bubbles`] to filter /// drafts. pub fn list_composer_ids(&self) -> Result> { Ok(self