Change arg to non-mutable reference

This commit is contained in:
Robin Salen 2023-07-27 12:45:25 -04:00
parent 0276446e7a
commit ee9cd80cb4
No known key found for this signature in database
GPG Key ID: FB87BACFB3CB2007

View File

@ -244,7 +244,7 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
self.lut_to_lookups[lut_index].push((looking_in, looking_out));
}
pub fn num_luts(&mut self) -> usize {
pub fn num_luts(&self) -> usize {
self.lut_to_lookups.len()
}