Post: Indent.
This commit is contained in:
parent
d88823e7c4
commit
eb220528bf
1 changed files with 102 additions and 102 deletions
|
@ -297,7 +297,7 @@ impl<'conn, 'a> Tx<'conn, 'a> {
|
||||||
// Here is where we do schema-aware typechecking: we either assert that
|
// Here is where we do schema-aware typechecking: we either assert that
|
||||||
// the given value is in the attribute's value set, or (in limited
|
// the given value is in the attribute's value set, or (in limited
|
||||||
// cases) coerce the value into the attribute's value set.
|
// cases) coerce the value into the attribute's value set.
|
||||||
if let TypedValue::Ref(entid) = self.schema.to_typed_value(&v.clone().without_spans(), &reversed_attribute)? {
|
if let TypedValue::Ref(entid) = self.schema.to_typed_value(&v.clone().without_spans(), reversed_attribute.value_type)? {
|
||||||
Ok(Either::Left(entid))
|
Ok(Either::Left(entid))
|
||||||
} else {
|
} else {
|
||||||
// reversed_attribute is :db.type/ref, so this shouldn't happen.
|
// reversed_attribute is :db.type/ref, so this shouldn't happen.
|
||||||
|
|
Loading…
Reference in a new issue