Skip to content

Commit 0813280

Browse files
tippeneinarunsathiya
authored andcommitted
'list of functions'
1 parent 9d8044d commit 0813280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clarity/src/vm/docs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,7 @@ const DEFINE_TRAIT_API: DefineAPI = DefineAPI {
20012001
can implement a given trait and then have their contract identifier being passed as a function argument in order to be called
20022002
dynamically with `contract-call?`.
20032003
2004-
Traits are defined with a name, and a list functions, where each function is defined with a name, a list of argument types, and a return type.
2004+
Traits are defined with a name, and a list of functions, where each function is defined with a name, a list of argument types, and a return type.
20052005
20062006
In Clarity 1, a trait type can be used to specify the type of a function parameter. A parameter with a trait type can
20072007
be used as the target of a dynamic `contract-call?`. A principal literal (e.g. `ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.foo`)

0 commit comments

Comments
 (0)