Skip to content

Commit c7e7a32

Browse files
author
ericszentivanyi
committed
docs: describe attrs setting for import_types! macro
1 parent dce483c commit c7e7a32

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

typify-macro/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ mod token_utils;
3434
/// - `derives`: optional array of derive macro paths; the derive macros to be
3535
/// applied to all generated types
3636
///
37+
/// - `attrs`: optional array of attribute paths; the attributes to be applied
38+
/// to all generated types
39+
///
3740
/// - `struct_builder`: optional boolean; (if true) generates a `::builder()`
3841
/// method for each generated struct that can be used to specify each
3942
/// property and construct the struct

0 commit comments

Comments
 (0)