From 5403335d322fd1b28e51948dfa12aa663fc0d5ab Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Tue, 21 Nov 2023 16:49:23 +0200 Subject: [PATCH] fix docs generation --- src/sign/src/network.rs | 2 +- src/voting-tools-rs/src/error/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sign/src/network.rs b/src/sign/src/network.rs index ab3d2042af..69aec85da4 100644 --- a/src/sign/src/network.rs +++ b/src/sign/src/network.rs @@ -38,7 +38,7 @@ pub struct Accepted { pub struct Network { pub client: Client, /// URL for posting a signed vote fragment - /// e.g https://core.projectcatalyst.io/api/v0/message + /// e.g pub fragment_url: String, } diff --git a/src/voting-tools-rs/src/error/mod.rs b/src/voting-tools-rs/src/error/mod.rs index fd5aa6ac34..a73d8d94a4 100644 --- a/src/voting-tools-rs/src/error/mod.rs +++ b/src/voting-tools-rs/src/error/mod.rs @@ -86,8 +86,7 @@ pub enum RegistrationError { /// Useful for providing more detailed error messages about why a particular registration was /// rejected /// -/// `registration` is an `Option` because some errors prevent us from even generating a -/// [`SignedRegistration`] struct +/// `registration` is an `Option` because some errors prevent us from even generating it #[derive(Debug, Serialize)] pub struct InvalidRegistration { pub spec_61284: Option,