diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-01 17:19:14 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-01 17:19:14 +0100 |
commit | 0b59be57476ef7a801a01c7e5e401c19c365cb2f (patch) | |
tree | def11229635420e18801d9aff3d258d990b23504 | |
parent | a5f2b16366f027ad60c58266a66eb7fbdcbda9f9 (diff) | |
parent | 375dd18dc0cc258f4e8c99a91b88030d32147965 (diff) |
Merge #4247
4247: Fix pub(self) visibility? r=matklad a=DianaNites
Clippy complained about it and it seems wrong, copy paste error?
Co-authored-by: Diana <[email protected]>
-rw-r--r-- | crates/ra_syntax/src/ast/extensions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/extensions.rs index f2ea5088e..45e3dd2d3 100644 --- a/crates/ra_syntax/src/ast/extensions.rs +++ b/crates/ra_syntax/src/ast/extensions.rs | |||
@@ -407,7 +407,7 @@ impl ast::Visibility { | |||
407 | } else if self.super_token().is_some() { | 407 | } else if self.super_token().is_some() { |
408 | VisibilityKind::PubSuper | 408 | VisibilityKind::PubSuper |
409 | } else if self.self_token().is_some() { | 409 | } else if self.self_token().is_some() { |
410 | VisibilityKind::PubSuper | 410 | VisibilityKind::PubSelf |
411 | } else { | 411 | } else { |
412 | VisibilityKind::Pub | 412 | VisibilityKind::Pub |
413 | } | 413 | } |