Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Apr 19, 2024
1 parent 7f7edbe commit abf1000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/blueprint/into_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ fn to_type(def: &Definition) -> dynamic::Type {
ConstValue::List(a) => Some(FieldValue::list(a)),
a => {
if a == ConstValue::Null && is_list {
FieldValue::NONE
FieldValue::NONE
} else {
FieldValue::try_from(a).ok()
Some(FieldValue::from(a))
}
},
}
};
Ok(p)
}
Expand Down

0 comments on commit abf1000

Please sign in to comment.