menu, dialogs: rustdoc -D warnings clean: no redundant link targets on MenuBar::show; the service docs name the private with_chosen_type without linking it

This commit is contained in:
bflatastic
2026-11-22 22:52:27 +07:00
parent 2dcc5763c9
commit 52d1ec7402
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
//! prompt on the app's `DialogHost` from `FilePanels::pump_with`; a typed name without an extension gets the suggested one and a new file's
//! uppercase extension is lowercased, while an existing file keeps its spelling (`file_dialog.rs:210 lowercased_extension`, `:365 saved_path`); the
//! steps are separate settings of the [`ExtensionPolicy`]. A name the panel left alone takes the
//! extension of the file type picked in the panel ([`with_chosen_type`]): the GTK file chooser keeps
//! extension of the file type picked in the panel (`with_chosen_type`): the GTK file chooser keeps
//! the typed name when another type is picked, and the format follows the extension.
use std::collections::{HashMap, VecDeque};
+1 -1
View File
@@ -134,7 +134,7 @@ impl<'a> MenuBarUi<'a> {
}
/// Draws the bar and its open menu. Disabled rows never run. A chosen item is a fired command in the frame's
/// output; [`Builtin::Quit`](crate::Builtin::Quit) and [`Builtin::Minimize`](crate::Builtin::Minimize) act on
/// output; [`Builtin::Quit`] and [`Builtin::Minimize`] act on
/// the root window instead.
pub fn show(self, ui: &mut Ui) -> MenuBarOutput {
let env = Env::of(ui);