Skip to content

Commit 0003ee4

Browse files
committed
Merge branch 'main' into common-fields
2 parents cb5f330 + 89e05b9 commit 0003ee4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl Parse for EnumConversionsArgs {
199199
/// The conversion to the outer enum relies on conversions between the inner enum and the outer enum, which is provided by the
200200
/// enum_conversions attribute on the Outer enum.
201201
///
202-
/// Rules:
202+
/// Limitations:
203203
///
204204
/// - enums must have unnamed single fields
205205
/// - field types must be distinct
@@ -235,6 +235,7 @@ pub fn enum_conversions(attr: TokenStream, item: TokenStream) -> TokenStream {
235235
};
236236
TokenStream::from(expanded)
237237
}
238+
238239
// Custom struct to parse arbitrary content inside the attribute brackets
239240
struct CommonCode {
240241
content: TokenStream2,

0 commit comments

Comments
 (0)