Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Jan 31, 2024
1 parent 76b67a1 commit 1894a1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ struct StructOpts {
/// Field-level configuration.
#[derive(Debug, Default, FromMeta)]
struct FieldOpts {
// TODO: When we update darling, we can replace `Override`
// with a custom enum and use `#[darling(word)]` on the variant
// we want to use for `#[superstruct(flatten)]` (no variants specified).
#[darling(default)]
flatten: Option<Override<HashMap<Ident, ()>>>,
#[darling(default)]
Expand Down

0 comments on commit 1894a1b

Please sign in to comment.