Skip to content

Commit

Permalink
Fix comment in ref docs (#2287)
Browse files Browse the repository at this point in the history
This PR fixes a bug in a comment in a code snippet in a doc that I
noticed during @EclecticGriffin's Cider2 talk
  • Loading branch information
anshumanmohan committed Sep 24, 2024
1 parent ab390b5 commit c497dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lang/memories-by-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Next, to pass the memory to the component, we use the `invoke` syntax:
component add_one() -> () { ... }
component main() -> () {
cells {
A = comb_mem_d1(32, 4, 3); // A memory passed by reference.
A = comb_mem_d1(32, 4, 3); // A memory that will be passed by reference.
one = add_one();
...
}
Expand Down

0 comments on commit c497dd4

Please sign in to comment.