gpui: Fix intra rustdoc links (#37320)
The only warnings remaining are links to private modules/items, but I lack knowledge to work out if the referenced modules/items should be made public, or if the links should be rewritten into exposed traits/items. Links to associated items such as trait implementations have to be written using full markdown format such as: ... [[ `App::update_global` ]](( BorrowAppContext::update_global )) This is due to https://github.com/rust-lang/rust/issues/74563 which sadly prohibits fully-qualified syntax: ... [[ `<App as BorrowAppContext>::update_global` ]] Release Notes: - N/A Probably related to https://github.com/zed-industries/zed/pull/37072
This commit is contained in:
@@ -7,7 +7,7 @@ const DEFS_PATH: &str = "#/$defs/";
|
||||
///
|
||||
/// This asserts that JsonSchema::schema_name() + "2" does not exist because this indicates that
|
||||
/// there are multiple types that use this name, and unfortunately schemars APIs do not support
|
||||
/// resolving this ambiguity - see https://github.com/GREsau/schemars/issues/449
|
||||
/// resolving this ambiguity - see <https://github.com/GREsau/schemars/issues/449>
|
||||
///
|
||||
/// This takes a closure for `schema` because some settings types are not available on the remote
|
||||
/// server, and so will crash when attempting to access e.g. GlobalThemeRegistry.
|
||||
|
||||
@@ -329,7 +329,7 @@ pub fn load_login_shell_environment() -> Result<()> {
|
||||
/// Configures the process to start a new session, to prevent interactive shells from taking control
|
||||
/// of the terminal.
|
||||
///
|
||||
/// For more details: https://registerspill.thorstenball.com/p/how-to-lose-control-of-your-shell
|
||||
/// For more details: <https://registerspill.thorstenball.com/p/how-to-lose-control-of-your-shell>
|
||||
pub fn set_pre_exec_to_start_new_session(
|
||||
command: &mut std::process::Command,
|
||||
) -> &mut std::process::Command {
|
||||
|
||||
Reference in New Issue
Block a user