Skip to content

Commit

Permalink
fix: code broken by formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
olehmisar committed Oct 23, 2024
1 parent c760da1 commit e15265e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Put this into your Nargo.toml.
If you are using Noir:

```toml
nodash = { git = "https://github.com/olehmisar/nodash/", tag = "v0.35.5" }
nodash = { git = "https://github.com/olehmisar/nodash/", tag = "v0.35.6" }
```

The version of nodash matches the version of Noir. The patch version may be different if a bugfix or a new feature is added for the same version of Noir. E.g., nodash@v0.35.0 and nodash@v0.35.1 are compatible with noir@v0.35.0.
Expand Down
2 changes: 1 addition & 1 deletion src/array.nr
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<T, let N: u32> crate::ArrayExtensions<T, N> for [T; N] {

// TODO: write tests
pub fn pack_bytes<let N: u32>(bytes: [u8; N]) -> [Field; N / 31 + 1] {
let bytes_padded = bytes.pad_end::<(N / 31 + 1) * 31>(N / 31 + 1) * 31>( 0);
let bytes_padded = bytes.pad_end::<(N / 31 + 1) * 31>(0);
let mut res = [0 as Field; N / 31 + 1];
for i in 0..N / 31 + 1 {
let chunk = bytes_padded.slice::<31>(i * 31, i * 31 + 31);
Expand Down

0 comments on commit e15265e

Please sign in to comment.