diff --git a/crates/dialogs/src/service.rs b/crates/dialogs/src/service.rs index e37fa09c50..e05ce4be24 100644 --- a/crates/dialogs/src/service.rs +++ b/crates/dialogs/src/service.rs @@ -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}; diff --git a/crates/menu/src/bar.rs b/crates/menu/src/bar.rs index 064fa4cbe7..c13ab2457d 100644 --- a/crates/menu/src/bar.rs +++ b/crates/menu/src/bar.rs @@ -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);