Skip to content

Commit 2d916b8

Browse files
authored
Fix README.md typo
1 parent 638db27 commit 2d916b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ struct SourceStruct{ }
244244
if **ignore** is present , then **map** field becomes optional. Except if needed rename destination fields for the dto
245245
- **derive** : list of of macro to derive from. `derive=(Debug,Clone)`
246246
- **no_builder**: a boolean flag to turn on or off builders for the dto. Default value is **_false_**. If the Dto name is "MyDto" , the builder will create a struct named "MyDtoBuilder" that can be used to build "MyDto" struct.
247-
- ***macro_attr**: an array of macro attributes to be added on the top of the resulted **struct**. For example : macro_attr=["serde(rename_all = \"UPPERCASE\")"]
247+
- **macro_attr**: an array of macro attributes to be added on the top of the resulted **struct**. For example : macro_attr=["serde(rename_all = \"UPPERCASE\")"]
248248
- **new_fields** : an array of declaration of new field names to include to the resulted dto structure. `new_fields=[("fieldname:type"), ("initialize_expression") ), ["macro_attribute","macro_attribute"]`.
249249
`fieldname:type` will create a new field with the `fieldname` specified and the `type`. It is not mandatory to rename. you can have `map=[("fieldname",true)]`
250250
`initialize_expression` is used an initialize value or expression to use when converting the original structure to the dto.

0 commit comments

Comments
 (0)