Add absolute import for Result
(#307)
This changes it so that the `Result` used in the derived schema code is using the absolute path to the `Result` enum, otherwise type aliases, such as: `error_stack::Result` cannot be used.
This commit is contained in:
parent
599fbb38b6
commit
0af8f50086
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ fn field_default_expr(field: &Field, container_has_default: bool) -> Option<Toke
|
|||
|
||||
impl serde::Serialize for _SchemarsDefaultSerialize<#ty>
|
||||
{
|
||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||
fn serialize<S>(&self, serializer: S) -> core::result::Result<S::Ok, S::Error>
|
||||
where
|
||||
S: serde::Serializer
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue