Skip to content

Commit 221b009

Browse files
committed
name full path of Option type
1 parent 6f25cae commit 221b009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/src/types/named.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ fn format_field(
111111
quote! {{
112112
use std::marker::PhantomData;
113113
let actual: PhantomData<#ty> = PhantomData;
114-
let must: PhantomData<Option<_>> = actual;
114+
let must: PhantomData<std::option::Option<_>> = actual;
115115
"?"
116116
}},
117117
nullable,

0 commit comments

Comments
 (0)