summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,