From 77cf1e07d4848334662b71f44531a8c60034dd53 Mon Sep 17 00:00:00 2001 From: joshua-maros <60271685+joshua-maros@users.noreply.github.com> Date: Wed, 14 Jun 2023 18:51:12 -0500 Subject: [PATCH] Refix a typo --- ouroboros_macro/src/generate/struc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ouroboros_macro/src/generate/struc.rs b/ouroboros_macro/src/generate/struc.rs index bc9b5d4..ba61819 100644 --- a/ouroboros_macro/src/generate/struc.rs +++ b/ouroboros_macro/src/generate/struc.rs @@ -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 { - 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> });