Skip to content

Commit 8d900e2

Browse files
MagicalTuxclaude
andcommitted
Fix rustdoc: wrap "<name>" so it isn't parsed as an HTML tag
The gpu_labels doc example `GPU#0: <name>` tripped rustdoc's invalid-html-tags lint under `-D warnings` (the docs CI job runs with --all-features, so the gui-only module is documented). Wrap it in a code span. Comment-only; no version bump. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f20afe1 commit 8d900e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn run_with_tray(args: RunArgs, status: Status) -> Result<()> {
4848
Ok(())
4949
}
5050

51-
/// The GPUs decryptd will use, as menu-ready labels ("GPU#0: <name>"). Mirrors the
51+
/// The GPUs decryptd will use, as menu-ready labels (`GPU#0: <name>`). Mirrors the
5252
/// worker's own selection (`--gpus`, else all detected) so the tray shows exactly
5353
/// what's in play. Best-effort: any probe failure collapses to a single note.
5454
fn gpu_labels(args: &RunArgs) -> Vec<String> {

0 commit comments

Comments
 (0)