We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb5f330 + 89e05b9 commit 0003ee4Copy full SHA for 0003ee4
src/lib.rs
@@ -199,7 +199,7 @@ impl Parse for EnumConversionsArgs {
199
/// The conversion to the outer enum relies on conversions between the inner enum and the outer enum, which is provided by the
200
/// enum_conversions attribute on the Outer enum.
201
///
202
-/// Rules:
+/// Limitations:
203
204
/// - enums must have unnamed single fields
205
/// - field types must be distinct
@@ -235,6 +235,7 @@ pub fn enum_conversions(attr: TokenStream, item: TokenStream) -> TokenStream {
235
};
236
TokenStream::from(expanded)
237
}
238
+
239
// Custom struct to parse arbitrary content inside the attribute brackets
240
struct CommonCode {
241
content: TokenStream2,
0 commit comments