File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func mismatchingUnlock(m dsl.Matcher) {
76
76
m .Match (`$mu.Lock(); defer $mu.$unlock()` ).
77
77
Where (m ["unlock" ].Text == "RUnlock" ).
78
78
At (m ["unlock" ]).
79
- Report (`maybe $2mu .Unlock() was intended?
79
+ Report (`maybe $mu .Unlock() was intended?
80
80
Rules are in ./rules.go file.` )
81
81
82
82
m .Match (`$mu.RLock(); defer $mu.$unlock()` ).
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func mismatchingUnlock(m dsl.Matcher) {
75
75
m .Match (`$mu.Lock(); defer $mu.$unlock()` ).
76
76
Where (m ["unlock" ].Text == "RUnlock" ).
77
77
At (m ["unlock" ]).
78
- Report (`maybe $2mu .Unlock() was intended?
78
+ Report (`maybe $mu .Unlock() was intended?
79
79
Rules are in ./rules.go file.` )
80
80
81
81
m .Match (`$mu.RLock(); defer $mu.$unlock()` ).
You can’t perform that action at this time.
0 commit comments