summaryrefslogtreecommitdiffstats
path: root/src/settings.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-01 04:35:24 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 03:44:14 +0200
commitf5e7e0625eec96f96d9dcbe514198a82bd5a49ec (patch)
treeee358df2558c8122498061eac3e9bf509df7e204 /src/settings.rs
parent4c44517556976454c0598c876addb10b88515cda (diff)
downloadiced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.tar.gz
iced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.tar.bz2
iced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.zip
Improve docs for `Sandbox` and `Application`
Diffstat (limited to 'src/settings.rs')
-rw-r--r--src/settings.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settings.rs b/src/settings.rs
index f36ec85f..ea969617 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -13,7 +13,7 @@ pub struct Settings<Flags> {
/// The data needed to initialize an [`Application`].
///
- /// [`Application`]: trait.Application.html
+ /// [`Application`]: ../trait.Application.html
pub flags: Flags,
/// The bytes of the font that will be used by default.
@@ -26,9 +26,11 @@ pub struct Settings<Flags> {
/// primitives.
///
/// Enabling it can produce a smoother result in some widgets, like the
- /// `Canvas`, at a performance cost.
+ /// [`Canvas`], at a performance cost.
///
/// By default, it is disabled.
+ ///
+ /// [`Canvas`]: ../widget/canvas/struct.Canvas.html
pub antialiasing: bool,
}