Fix broken intra-doc links

This commit is contained in:
Héctor Ramón Jiménez 2023-11-14 13:23:28 +01:00
parent c2baf18cbf
commit 280d3736d5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ pub use crate::core::event::Status;
/// A [`Shader`] event.
///
/// [`Shader`]: crate::widget::shader::Shader;
/// [`Shader`]: crate::Shader
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Event {
/// A mouse event.

View file

@ -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,