From 2358a22d38fa848b3c27f9bc25d32563be8dd648 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Sun, 27 Oct 2024 14:48:08 -0600 Subject: [PATCH] chore: Reformat --- src/api/endpoints.rs | 2 +- src/api/mod.rs | 2 +- src/api/responses.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/endpoints.rs b/src/api/endpoints.rs index 528d01d..72eb23c 100644 --- a/src/api/endpoints.rs +++ b/src/api/endpoints.rs @@ -77,4 +77,4 @@ pub const ADD_PRE_CHAIN: Endpoint = (reqwest::Method::POST, "/ct/v1/add-pre-chai /// /// tree_head_signature: A TreeHeadSignature for the above data. /// ``` -pub const GET_STH: Endpoint = (reqwest::Method::GET, "/ct/v1/get-sth"); \ No newline at end of file +pub const GET_STH: Endpoint = (reqwest::Method::GET, "/ct/v1/get-sth"); diff --git a/src/api/mod.rs b/src/api/mod.rs index d60c367..e34d737 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -78,7 +78,7 @@ impl CtApiClient { .await } - /// /// Fetches the Signed Tree Head information for the current CT log tree + /// Fetches the Signed Tree Head information for the current CT log tree /// /// See: [`endpoints::GET_STH`] /// diff --git a/src/api/responses.rs b/src/api/responses.rs index 2a831ec..a36b683 100644 --- a/src/api/responses.rs +++ b/src/api/responses.rs @@ -23,7 +23,7 @@ pub struct AddChainResponse { } /// A response given when fetching the Signed Tree Head of a CT log -/// +/// /// See: [`super::endpoints::GET_STH`] #[derive(Debug, Deserialize)] pub struct GetSthResponse {