From 7360c81509420fdf94962abed42cd19de7331619 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 2 Oct 2021 23:41:00 -0400 Subject: Fix typos in documentation (#2141) Close #2138--- docs/src/explanations/functional-abstraction.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/src/explanations/functional-abstraction.md') 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 -- cgit v1.2.3