-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capture doc comments, add variant and field builders (#87)
* Capture docs for types, fields, and enum variants * Add docs to derive tests * Fmt * Fmt * Make clippy happy * Fix struct docs tests * Fix struct docs tests * Add missing Vec import * Fix test * Clear docs * Promote build to it's own mod, split fields and variant builders * Refactor variant construction with builder * Fix up derive and unit tests with Variant builder * Fmt * Condense build module back to single file * Fix up doc tests * Fix up README * Define initial field builder * Fix up field building * Fix tests * Fully qualify calls to stringify * Default impl for FieldBuilder * Fix up default impl * Fix spelling errors * Remove clear_docs * Fully qualify module_path * Update derive/src/lib.rs Co-authored-by: Robin Freyler <[email protected]> * Use callback for variant builder * Update README * Remove leading space in doc comments * Satisfy clippy * Add test for doc capture * Rename index back to discriminant, changes for this will be in #80 * Rename index back to discriminant, changes for this will be in #80 * Update src/build.rs Co-authored-by: David <[email protected]> * Update src/build.rs Co-authored-by: David <[email protected]> Co-authored-by: Robin Freyler <[email protected]> Co-authored-by: David <[email protected]>
- Loading branch information
1 parent
eda88b5
commit 700f810
Showing
12 changed files
with
628 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.