@@ -114,7 +114,7 @@ impl SpReservedRule {
114114
115115impl Rule for SpReservedRule {
116116 fn name ( ) -> & ' static str {
117- "SP_RESERVED "
117+ "sp_reserved "
118118 }
119119 fn description ( ) -> & ' static str {
120120 "Missing space around reserved words"
@@ -270,7 +270,7 @@ impl SpBinopRule {
270270}
271271impl Rule for SpBinopRule {
272272 fn name ( ) -> & ' static str {
273- "SP_BINOP "
273+ "sp_binop "
274274 }
275275 fn description ( ) -> & ' static str {
276276 "Missing space around binary operator"
@@ -330,7 +330,7 @@ impl SpTernaryRule {
330330}
331331impl Rule for SpTernaryRule {
332332 fn name ( ) -> & ' static str {
333- "SP_TERNARY "
333+ "sp_ternary "
334334 }
335335 fn description ( ) -> & ' static str {
336336 "Missing space around ? or : in conditional expression"
@@ -725,7 +725,7 @@ pub struct SpPtrDeclOptions {}
725725
726726impl Rule for SpPtrDeclRule {
727727 fn name ( ) -> & ' static str {
728- "SP_PTRDECL "
728+ "sp_ptrdecl "
729729 }
730730 fn description ( ) -> & ' static str {
731731 "There should be a space between type and * marking a pointer"
@@ -815,7 +815,7 @@ impl NspPtrDeclArgs {
815815
816816impl Rule for NspPtrDeclRule {
817817 fn name ( ) -> & ' static str {
818- "NSP_PTRDECL "
818+ "nsp_ptrdecl "
819819 }
820820 fn description ( ) -> & ' static str {
821821 "There should be no space after the * marking a pointer in a declaration"
0 commit comments