File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rust/catalyst-signed-doc-macro/src/rules Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub(crate) fn catalyst_signed_documents_rules_impl() -> anyhow::Result<TokenStre
1313 for ( doc_name, _doc_spec) in spec. docs {
1414 let const_type_name_ident = doc_name. ident ( ) ;
1515
16- // TODO: implement a proper initialisation for all specific validation rules
16+ // TODO: implement a proper initialization for all specific validation rules
1717 let rules = quote ! {
1818 crate :: validator:: rules:: Rules {
1919 id: crate :: validator:: rules:: IdRule ,
@@ -36,10 +36,10 @@ pub(crate) fn catalyst_signed_documents_rules_impl() -> anyhow::Result<TokenStre
3636 }
3737 } ;
3838
39- let rule_defintion = quote ! {
39+ let rule_definition = quote ! {
4040 ( #const_type_name_ident, #rules) ,
4141 } ;
42- rules_definitions. push ( rule_defintion ) ;
42+ rules_definitions. push ( rule_definition ) ;
4343 }
4444
4545 Ok ( quote ! {
You can’t perform that action at this time.
0 commit comments