diff options
author | 2020-11-25 07:11:27 +0100 | |
---|---|---|
committer | 2020-11-26 02:05:43 +0100 | |
commit | 01322f69a406eee76014f5e2834336e2295ad80e (patch) | |
tree | 380d9224b81537e460ea7f9fe84c0c912d3f4cbf /src/settings.rs | |
parent | d612bf56784b41346f18ad9eda4f6d54d699dcb5 (diff) | |
download | iced-01322f69a406eee76014f5e2834336e2295ad80e.tar.gz iced-01322f69a406eee76014f5e2834336e2295ad80e.tar.bz2 iced-01322f69a406eee76014f5e2834336e2295ad80e.zip |
Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
Diffstat (limited to 'src/settings.rs')
-rw-r--r-- | src/settings.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/settings.rs b/src/settings.rs index 40b1b1ea..c82a1354 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -7,13 +7,11 @@ pub struct Settings<Flags> { /// The window settings. /// /// They will be ignored on the Web. - /// - /// [`Window`]: struct.Window.html pub window: window::Settings, /// The data needed to initialize an [`Application`]. /// - /// [`Application`]: ../trait.Application.html + /// [`Application`]: crate::Application pub flags: Flags, /// The bytes of the font that will be used by default. @@ -35,14 +33,14 @@ pub struct Settings<Flags> { /// /// By default, it is disabled. /// - /// [`Canvas`]: ../widget/canvas/struct.Canvas.html + /// [`Canvas`]: crate::widget::Canvas pub antialiasing: bool, } impl<Flags> Settings<Flags> { - /// Initialize application settings using the given data. + /// Initialize [`Application`] settings using the given data. /// - /// [`Application`]: ../trait.Application.html + /// [`Application`]: crate::Application pub fn with_flags(flags: Flags) -> Self { let default_settings = Settings::<()>::default(); |