summaryrefslogtreecommitdiff
path: root/docs/src/explanations/functional-abstraction.md
diff options
context:
space:
mode:
authorNick2021-10-02 23:41:00 -0400
committerGitHub2021-10-02 23:41:00 -0400
commit7360c81509420fdf94962abed42cd19de7331619 (patch)
tree17cc05a738bae15c2aaa893a64306c7f6e3f1fd2 /docs/src/explanations/functional-abstraction.md
parent92f1ace73c85de859082eaa917eaacfce026fdf8 (diff)
Fix typos in documentation (#2141)
Close #2138
Diffstat (limited to 'docs/src/explanations/functional-abstraction.md')
-rw-r--r--docs/src/explanations/functional-abstraction.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/explanations/functional-abstraction.md b/docs/src/explanations/functional-abstraction.md
index 4e3900b6..596d869a 100644
--- a/docs/src/explanations/functional-abstraction.md
+++ b/docs/src/explanations/functional-abstraction.md
@@ -23,10 +23,10 @@ def clb(a: UInt, b: UInt, c: UInt, d: UInt): UInt =
where ```clb``` is the function which takes ```a```, ```b```,
```c```, ```d``` as arguments and returns a wire to the output of a
boolean circuit. The ```def``` keyword is part of Scala and
-introduces a function definition, with each argument followed by a colon then its type,
-and the function return type given after the colon following the
-argument list. The equals (```=})```sign separates the function argument list from the function
-definition.
+introduces a function definition, with each argument followed by a colon then
+its type, and the function return type given after the colon following the
+argument list. The equals (`=`) sign separates the function argument list
+from the function definition.
We can then use the block in another circuit as follows:
```scala mdoc:silent