summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-27 05:22:37 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-27 05:22:37 +0100
commit2753103942afc262103c15faf9ab2e7495b3f5c2 (patch)
tree3c7f80f621638ccd5fb3f701a14a0c7c2a890b8a
parente2c52c9728cb03d01b33388a8159db9bd9eac04c (diff)
downloadiced-2753103942afc262103c15faf9ab2e7495b3f5c2.tar.gz
iced-2753103942afc262103c15faf9ab2e7495b3f5c2.tar.bz2
iced-2753103942afc262103c15faf9ab2e7495b3f5c2.zip
Fix broken intra-doc link in `animation`
-rw-r--r--core/src/animation.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/animation.rs b/core/src/animation.rs
index fe2b29b2..29dacd4d 100644
--- a/core/src/animation.rs
+++ b/core/src/animation.rs
@@ -89,6 +89,8 @@ where
/// closure provided to calculate the different keyframes of interpolated values.
///
/// If the [`Animation`] state is a `bool`, you can use the simpler [`interpolate`] method.
+ ///
+ /// [`interpolate`]: Animation::interpolate
pub fn interpolate_with<I>(&self, f: impl Fn(T) -> I, at: Instant) -> I
where
I: Interpolable,