summaryrefslogtreecommitdiffstats
path: root/widget/src/shader/program.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 13:23:28 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-11-14 13:23:28 +0100
commit280d3736d59b62c4087fe980c187953cc2be83d2 (patch)
tree0fb8e6b7a5bc5c7f6da71a2302d44866ac632e14 /widget/src/shader/program.rs
parentc2baf18cbff721e25c3103b6235292530b419c54 (diff)
downloadiced-280d3736d59b62c4087fe980c187953cc2be83d2.tar.gz
iced-280d3736d59b62c4087fe980c187953cc2be83d2.tar.bz2
iced-280d3736d59b62c4087fe980c187953cc2be83d2.zip
Fix broken intra-doc links
Diffstat (limited to 'widget/src/shader/program.rs')
-rw-r--r--widget/src/shader/program.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/shader/program.rs b/widget/src/shader/program.rs
index 0319844d..6dd50404 100644
--- a/widget/src/shader/program.rs
+++ b/widget/src/shader/program.rs
@@ -9,7 +9,7 @@ use crate::shader;
/// A [`Program`] can mutate the internal state of a [`Shader`] widget
/// and produce messages for an application.
///
-/// [`Shader`]: crate::widget::shader::Shader
+/// [`Shader`]: crate::Shader
pub trait Program<Message> {
/// The internal state of the [`Program`].
type State: Default + 'static;
@@ -50,7 +50,7 @@ pub trait Program<Message> {
/// The interaction returned will be in effect even if the cursor position is out of
/// bounds of the [`Shader`]'s program.
///
- /// [`Shader`]: crate::widget::shader::Shader
+ /// [`Shader`]: crate::Shader
fn mouse_interaction(
&self,
_state: &Self::State,