Skip to content

Commit

Permalink
Change underscore to unit
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Aug 13, 2023
1 parent de2272b commit ec55ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typed-builder-macro/src/struct_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl<'a> StructInfo<'a> {

let descructuring = self.included_fields().map(|f| {
if f.ordinal == field.ordinal {
quote!(_)
quote!(())
} else {
let name = f.name;
name.to_token_stream()
Expand Down

0 comments on commit ec55ee0

Please sign in to comment.