From 3c50a07f84dce7f861e57a9ef59db220bbebc355 Mon Sep 17 00:00:00 2001 From: EdJoPaTo Date: Thu, 29 Aug 2024 13:18:15 +0200 Subject: [PATCH] fix: clippy::too_long_first_doc_paragraph' --- src/api_traits.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api_traits.rs b/src/api_traits.rs index eaeffa7..fbc430e 100644 --- a/src/api_traits.rs +++ b/src/api_traits.rs @@ -22,12 +22,14 @@ pub struct MethodResponse { pub description: Option, } -#[derive(Debug, Serialize, Deserialize, PartialEq, Eq)] -/// \[…\] an unsuccessful request, `ok` equals false and the error is explained in the `description`. +/// Error on an unsuccessful request. +/// +/// `ok` equals false and the error is explained in the `description`. /// An Integer `error_code` field is also returned, but its contents are subject to change in the future. /// Some errors may also have an optional field `parameters` of the type `ResponseParameters`, which can help to automatically handle the error. /// /// See +#[derive(Debug, Serialize, Deserialize, PartialEq, Eq)] pub struct ErrorResponse { /// Always false pub ok: bool,