cleanup: remove a redundant map

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-10-21 13:39:27 +02:00
parent e5f47b8254
commit 5fc4179e20

View File

@ -49,7 +49,7 @@ macro_rules! select_int_impl {
}
});
let result = Self::alloc(cs.ns(|| "cond_select_result"), || result_val.get().map(|v| v))?;
let result = Self::alloc(cs.ns(|| "cond_select_result"), || result_val.get())?;
let expected_bits = first
.bits