summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Imbris <imbrisf@gmail.com>2021-11-17 12:08:52 -0500
committerLibravatar Imbris <imbrisf@gmail.com>2021-11-17 12:08:52 -0500
commitb89d3bed5cb77b87f1651ba69ee2a86debafba5a (patch)
treec2fe5cdbc51879276ab0a479bfdeac1c0fc983e8
parentd165b789df603e3b93cc9f92184afa6aa6aaf64b (diff)
downloadiced-b89d3bed5cb77b87f1651ba69ee2a86debafba5a.tar.gz
iced-b89d3bed5cb77b87f1651ba69ee2a86debafba5a.tar.bz2
iced-b89d3bed5cb77b87f1651ba69ee2a86debafba5a.zip
Fix a few doc links
-rw-r--r--src/settings.rs2
-rw-r--r--winit/src/application.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.rs b/src/settings.rs
index d726dc4f..f7940a0b 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -52,6 +52,8 @@ pub struct Settings<Flags> {
/// window to close (e.g. the user presses the close button).
///
/// By default, it is enabled.
+ ///
+ /// [`Application`]: crate::Application
pub exit_on_close_request: bool,
}
diff --git a/winit/src/application.rs b/winit/src/application.rs
index 9d787933..9ae1364d 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -22,7 +22,7 @@ use std::mem::ManuallyDrop;
/// An interactive, native cross-platform application.
///
/// This trait is the main entrypoint of Iced. Once implemented, you can run
-/// your GUI application by simply calling [`run`](#method.run). It will run in
+/// your GUI application by simply calling [`run`]. It will run in
/// its own window.
///
/// An [`Application`] can execute asynchronous actions by returning a