mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
chore: address Rust 1.80 clippy lints (#5447)
This commit is contained in:
@ -292,7 +292,7 @@ fn check_if_auth_based_attr_is_present(f: &syn::Field, ident: &str) -> bool {
|
||||
/// # The Generated `Serialize` Implementation
|
||||
///
|
||||
/// - For a simple enum variant with no fields, the generated [`Serialize`][Serialize]
|
||||
/// implementation has only three fields, `type`, `code` and `message`:
|
||||
/// implementation has only three fields, `type`, `code` and `message`:
|
||||
///
|
||||
/// ```
|
||||
/// # use router_derive::ApiError;
|
||||
@ -322,8 +322,8 @@ fn check_if_auth_based_attr_is_present(f: &syn::Field, ident: &str) -> bool {
|
||||
/// ```
|
||||
///
|
||||
/// - For an enum variant with named fields, the generated [`Serialize`][Serialize] implementation
|
||||
/// includes three mandatory fields, `type`, `code` and `message`, and any other fields not
|
||||
/// included in the message:
|
||||
/// includes three mandatory fields, `type`, `code` and `message`, and any other fields not
|
||||
/// included in the message:
|
||||
///
|
||||
/// ```
|
||||
/// # use router_derive::ApiError;
|
||||
|
||||
Reference in New Issue
Block a user