arkworks-rs / crypto-primitives

Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them
https://www.arkworks.rs
Apache License 2.0
171 stars 82 forks source link

Fix comment that does not match the code #116

Closed Insun35 closed 1 year ago

Insun35 commented 1 year ago

Description

Fix the comment that does not match the code in src/sponge/absorb.rs line 68: "Append the list to dest." -> "Return the list as Vec."

As the function batch_to_sponge_field_elements_as_vec returns Vec, the changed comment is more appropriate.