Skip to content

Commit

Permalink
fix NoArgsConstructor visibility (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokomishalov committed Jun 29, 2021
1 parent f3c4345 commit 2723c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/no_args_constructor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub(crate) fn no_args_constructor(input: TokenStream) -> TokenStream {
TokenStream::from(quote! {
impl #impl_generics #name #ty_generics #where_clause {
// FIXME overloading issue in case of using with AllArgsConstructor
fn new_default() -> Self {
pub fn new_default() -> Self {
Self {
#(
#structure_params
Expand Down

0 comments on commit 2723c2a

Please sign in to comment.