summaryrefslogtreecommitdiffstats
path: root/graphics/src/gradient.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-09 21:08:23 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-09 21:08:23 +0200
commit419d9374b79b39293ba9a17967c2356d29377d8f (patch)
tree2fd3b5f27ff4ac185a105ddce1a8f26b1b5b276b /graphics/src/gradient.rs
parentf60884f6f8639f75258c264bf4a15591351ef05b (diff)
downloadiced-419d9374b79b39293ba9a17967c2356d29377d8f.tar.gz
iced-419d9374b79b39293ba9a17967c2356d29377d8f.tar.bz2
iced-419d9374b79b39293ba9a17967c2356d29377d8f.zip
Fix outstanding broken intradoc links
Diffstat (limited to 'graphics/src/gradient.rs')
-rw-r--r--graphics/src/gradient.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/graphics/src/gradient.rs b/graphics/src/gradient.rs
index f5f5f8b4..b274ec86 100644
--- a/graphics/src/gradient.rs
+++ b/graphics/src/gradient.rs
@@ -1,8 +1,6 @@
//! A gradient that can be used as a fill for some geometry.
//!
//! For a gradient that you can use as a background variant for a widget, see [`Gradient`].
-//!
-//! [`Gradient`]: crate::core::Gradient;
use crate::color;
use crate::core::gradient::ColorStop;
use crate::core::{self, Color, Point, Rectangle};
@@ -36,10 +34,7 @@ impl Gradient {
}
}
-/// A linear gradient that can be used in the style of [`Fill`] or [`Stroke`].
-///
-/// [`Fill`]: crate::geometry::Fill;
-/// [`Stroke`]: crate::geometry::Stroke;
+/// A linear gradient.
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Linear {
/// The absolute starting position of the gradient.