0xPolygonZero / plonky2

Apache License 2.0
777 stars 289 forks source link

Make some functions const #1407

Closed Nashtare closed 11 months ago

Nashtare commented 11 months ago

Reviewing #1406 made me realize a bunch of functions can be made const, so I just applied clippy with -D clippy::missing_const_for_fn. Not a big deal but could be useful to some extent.

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information