Skip to content

Commit a2be6f1

Browse files
authored
Merge pull request #287 from viktorking7/main
Fix typos in circuit writer
2 parents 487bd91 + f66ef76 commit a2be6f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/circuit_writer/ir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ impl<B: Backend> IRWriter<B> {
992992
.expr_type(container)
993993
.expect("cannot find type of container");
994994

995-
// actual starting index for narrowing the var depends on the cotainer
995+
// actual starting index for narrowing the var depends on the container
996996
// for arrays it is just idx * elem_size as all elements are of same size
997997
// while for tuples we have to sum the sizes of all types up to that index
998998
let (start, len) = match container_typ {

src/circuit_writer/writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ impl<B: Backend> CircuitWriter<B> {
756756
.expr_type(container)
757757
.expect("cannot find type of container");
758758

759-
// actual starting index for narrowing the var depends on the cotainer
759+
// actual starting index for narrowing the var depends on the container
760760
// for arrays it is just idx * elem_size as all elements are of same size
761761
// while for tuples we have to sum the sizes of all types up to that index
762762
let (start, len) = match container_typ {

0 commit comments

Comments
 (0)