fix lints
This commit is contained in:
parent
88ecc534a2
commit
ca31c41726
12 changed files with 115 additions and 112 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue