Skip to content

Commit e15265e

Browse files
committed
fix: code broken by formatter
1 parent c760da1 commit e15265e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Put this into your Nargo.toml.
99
If you are using Noir:
1010

1111
```toml
12-
nodash = { git = "https://github.com/olehmisar/nodash/", tag = "v0.35.5" }
12+
nodash = { git = "https://github.com/olehmisar/nodash/", tag = "v0.35.6" }
1313
```
1414

1515
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., [email protected] and [email protected] are compatible with [email protected].

src/array.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl<T, let N: u32> crate::ArrayExtensions<T, N> for [T; N] {
4141

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

0 commit comments

Comments
 (0)