fix lints

This commit is contained in:
Jean-Marie Mineau 2025-02-05 11:37:52 +01:00
parent 88ecc534a2
commit ca31c41726
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
12 changed files with 115 additions and 112 deletions

View file

@ -55,7 +55,7 @@ use syn::{
/// An enum can define ONE variant as the default variant. This variant is a catch all,
/// and MUST be have named field or unnamed field (no unit variant!) and:
/// - The first field of named fields variant must be named `prefix` and of the type
/// `prefix_type`.
/// `prefix_type`.
/// - The first field of unnamed fields variant must be of the type `prefix_type`.
///
/// The first field of the default variant store the prefix of the variant.