Skip to content

Commit 375dd18

Browse files
committed
Fix pub(self) visibility?
Clippy complained about it and it seems wrong
1 parent a5f2b16 commit 375dd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_syntax/src/ast/extensions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl ast::Visibility {
407407
} else if self.super_token().is_some() {
408408
VisibilityKind::PubSuper
409409
} else if self.self_token().is_some() {
410-
VisibilityKind::PubSuper
410+
VisibilityKind::PubSelf
411411
} else {
412412
VisibilityKind::Pub
413413
}

0 commit comments

Comments
 (0)