Skip to content

Commit 130220b

Browse files
authored
Merge pull request #4144 from tippenein/define-trait-wording-change
change the wording around the signature description
2 parents 62c7e4d + dac754a commit 130220b

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
@@ -1996,7 +1996,7 @@ const DEFINE_TRAIT_API: DefineAPI = DefineAPI {
19961996
can implement a given trait and then have their contract identifier being passed as a function argument in order to be called
19971997
dynamically with `contract-call?`.
19981998
1999-
Traits are defined with a name, and a list functions, defined with a name, a list of argument types, and return type.
1999+
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.
20002000
20012001
In Clarity 1, a trait type can be used to specify the type of a function parameter. A parameter with a trait type can
20022002
be used as the target of a dynamic `contract-call?`. A principal literal (e.g. `ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.foo`)

0 commit comments

Comments
 (0)