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 {