From 3fb719a9f6082ebf240dc5e31082164d32b5a1ee Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 26 Jul 2024 03:13:00 +0900 Subject: [PATCH] chore: format --- packages/macro-rs/macros-impl/src/error.rs | 4 ++-- packages/macro-rs/macros/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/macro-rs/macros-impl/src/error.rs b/packages/macro-rs/macros-impl/src/error.rs index 199c753568..52b4ef6ddf 100644 --- a/packages/macro-rs/macros-impl/src/error.rs +++ b/packages/macro-rs/macros-impl/src/error.rs @@ -22,10 +22,10 @@ use quote::quote; /// #[doc = "database error"] /// Db(#[from] sea_orm::DbErr) /// } -/// +/// /// # }, { /// /******* the code above expands to *******/ -/// +/// /// pub enum Error { /// #[error("config file name is not set")] /// #[doc = "config file name is not set"] diff --git a/packages/macro-rs/macros/src/lib.rs b/packages/macro-rs/macros/src/lib.rs index 65de60e7aa..b0beab95bd 100644 --- a/packages/macro-rs/macros/src/lib.rs +++ b/packages/macro-rs/macros/src/lib.rs @@ -80,9 +80,9 @@ define_wrapper_proc_macro_attributes! { /// and generates a document based on error messages unless there is already a doc comment /// /// See [`macros_impl::error::error_variants`] for more details. - /// + /// /// # Example - /// + /// /// ``` /// # use std::io; /// #[macros::errors]