From 68e9eb0a9b45b86713ce5d0e9c2273a60f2cc11c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez <hector0193@gmail.com> Date: Sat, 30 Apr 2022 14:20:52 +0200 Subject: Fix broken intra-doc links in documentation --- native/src/command/action.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'native/src/command/action.rs') diff --git a/native/src/command/action.rs b/native/src/command/action.rs index 5c7509c8..cd4309ed 100644 --- a/native/src/command/action.rs +++ b/native/src/command/action.rs @@ -10,6 +10,8 @@ use std::fmt; /// [`Command`]: crate::Command pub enum Action<T> { /// Run a [`Future`] to completion. + /// + /// [`Future`]: iced_futures::BoxFuture Future(iced_futures::BoxFuture<T>), /// Run a clipboard action. @@ -21,6 +23,8 @@ pub enum Action<T> { impl<T> Action<T> { /// Applies a transformation to the result of a [`Command`]. + /// + /// [`Command`]: crate::Command pub fn map<A>( self, f: impl Fn(T) -> A + 'static + MaybeSend + Sync, -- cgit