Skip to content

Commit

Permalink
Refix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
someguynamedjosh committed Jun 14, 2023
1 parent 8cd8fbc commit 77cf1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ouroboros_macro/src/generate/struc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use syn::Error;

/// Creates the struct that will actually store the data.
pub fn create_actual_struct_def(info: &StructInfo) -> Result<TokenStream, Error> {
let visibility = utils::submodule_contents_visiblity(&info.vis);
let visibility = utils::submodule_contents_visibility(&info.vis);
let mut fields = Vec::new();
for (ty, ident) in info.generic_consumers() {
fields.push(quote! { #ident: ::core::marker::PhantomData<#ty> });
Expand Down

0 comments on commit 77cf1e0

Please sign in to comment.