This commit is contained in:
Pratyush Mishra
2021-03-24 03:47:30 -07:00
parent 73ac661ddf
commit 736b552720

View File

@@ -59,10 +59,10 @@ macro_rules! make_uint {
}
impl<F: Field> $name<F> {
#[doc = "Construct a constant "]
#[doc = $r1cs_doc_name]
#[doc = " from the native "]
#[doc = $native_doc_name]
#[doc = "Construct a constant "]
#[doc = $r1cs_doc_name]
#[doc = " from the native "]
#[doc = $native_doc_name]
#[doc = " type."]
pub fn constant(value: $native) -> Self {
let mut bits = [Boolean::FALSE; $size];