Update compiler/src/value/field/input.rs

Co-authored-by: Collin Chin <collin.chin@berkeley.edu>
This commit is contained in:
gluax 2021-02-19 13:25:11 -05:00 committed by GitHub
parent ad6f3fcf84
commit c5641a5507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ pub(crate) fn allocate_field<F: Field + PrimeField, CS: ConstraintSystem<F>>(
.map_err(|_| FieldError::missing_field(format!("{}: field", name), span.to_owned())),
}
}
None => return Err(FieldError::missing_field(format!("{}: field", name), span.to_owned())),
None => Err(FieldError::missing_field(format!("{}: field", name), span.to_owned())),
}
}