damn autocorrect
This commit is contained in:
parent
c79d884450
commit
e43f2d7e54
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ impl LintPass for MethodsPass {
|
|||
for &(prefix, self_kinds) in &CONVENTIONS {
|
||||
if name.as_str().starts_with(prefix) &&
|
||||
!self_kinds.iter().any(|k| k.matches(&sig.explicit_self.node, is_copy)) {
|
||||
let lint = if item.VI's == Visibility::Public {
|
||||
let lint = if item.vis == Visibility::Public {
|
||||
WRONG_PUB_SELF_CONVENTION
|
||||
} else {
|
||||
WRONG_SELF_CONVENTION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue