Skip to content

Commit

Permalink
Suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneable committed Apr 6, 2024
1 parent c7fa942 commit d99cfb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ fn typed_main(params: TokenStream, input: TokenStream) -> Result<TokenStream> {
}

let item = syn::parse2::<ItemStruct>(input.clone())?;
let StrongType { outer, outer_vis, inner, .. } = (&item).try_into()?;
let StrongType { outer, outer_vis, inner, inner_vis: _inner_vis } =
(&item).try_into()?;

let mut output = TokenStream::new();

Expand Down

0 comments on commit d99cfb5

Please sign in to comment.