From 2b50e7531e1838085ce53d5adadaf57e47cea95c Mon Sep 17 00:00:00 2001 From: forkless Date: Thu, 11 Jun 2026 17:22:01 +0200 Subject: [PATCH] fix doc-comment brackets being parsed as intra-doc links --- src/tui.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tui.rs b/src/tui.rs index 5e4e81a..d97ea6a 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -221,7 +221,7 @@ pub fn draw_disclaimer_popup(f: &mut Frame, app: &AppState, selected_yes: bool) ); } -/// Draw a simple confirmation popup with [ Yes ] [ No ] buttons. +/// Draw a simple confirmation popup with \[ Yes \] \[ No \] buttons. pub fn draw_confirm_popup( f: &mut Frame, app: &AppState, @@ -586,7 +586,7 @@ pub fn draw_text_screen(f: &mut Frame, app: &AppState, lines: &[Line], prompt: & } /// Draw a file/folder picker list. -/// `pinned_header` renders items[0] as a fixed header above the scrollable list. +/// `pinned_header` renders items\[0\] as a fixed header above the scrollable list. pub fn draw_picker( f: &mut Frame, app: &AppState, @@ -600,7 +600,7 @@ pub fn draw_picker( /// Draw a file/folder picker list with an extra selected-item info line /// (e.g. showing the full filename of the highlighted .bak file). -/// `pinned_header` renders items[0] as a fixed header above the scrollable list. +/// `pinned_header` renders items\[0\] as a fixed header above the scrollable list. pub fn draw_picker_with_info( f: &mut Frame, app: &AppState,