Skip to content

Commit

Permalink
name full path of Option type
Browse files Browse the repository at this point in the history
  • Loading branch information
NyxCode committed Nov 11, 2024
1 parent 6f25cae commit 221b009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/src/types/named.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn format_field(
quote! {{
use std::marker::PhantomData;
let actual: PhantomData<#ty> = PhantomData;
let must: PhantomData<Option<_>> = actual;
let must: PhantomData<std::option::Option<_>> = actual;
"?"
}},
nullable,
Expand Down

0 comments on commit 221b009

Please sign in to comment.