From 17b9954710cd36f7c5c8e13b23162cd119fd9ff7 Mon Sep 17 00:00:00 2001 From: Clay McLeod Date: Sun, 8 Sep 2024 17:44:09 -0500 Subject: [PATCH] docs: fixes intradoc link to `MinimalTask` --- src/v1/types/responses/task.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v1/types/responses/task.rs b/src/v1/types/responses/task.rs index 3f673bc..662106b 100644 --- a/src/v1/types/responses/task.rs +++ b/src/v1/types/responses/task.rs @@ -35,8 +35,8 @@ pub enum Response { } impl Response { - /// Retrieves a reference to the inner [`Minimal`] response if the variant - /// is [`Response::Minimal`]. + /// Retrieves a reference to the inner [`MinimalTask`] response if the + /// variant is [`Response::Minimal`]. pub fn as_minimal(&self) -> Option<&MinimalTask> { match self { Response::Minimal(task) => Some(task), @@ -44,7 +44,7 @@ impl Response { } } - /// Consumes `self` and returns the inner [`Minimal`] response if the + /// Consumes `self` and returns the inner [`MinimalTask`] response if the /// variant is [`Response::Minimal`]. pub fn into_minimal(self) -> Option { match self {