diff options
author | Aleksey Kladov <[email protected]> | 2019-01-08 12:40:02 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-08 12:40:02 +0000 |
commit | 54e5c4f0859ecbac0762051ca680a567c67cff6f (patch) | |
tree | ee26b6d3dfa3ab9b027e9bf29c981fa823ef74d6 /crates/ra_hir/src | |
parent | 5edcf313f6b265c626b75f92c11fe62385ab9556 (diff) |
minimize visibility
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/adt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/adt.rs b/crates/ra_hir/src/adt.rs index 8639bbd5c..602e7db74 100644 --- a/crates/ra_hir/src/adt.rs +++ b/crates/ra_hir/src/adt.rs | |||
@@ -84,7 +84,7 @@ impl EnumData { | |||
84 | } | 84 | } |
85 | 85 | ||
86 | impl VariantData { | 86 | impl VariantData { |
87 | pub(crate) fn new(flavor: StructFlavor) -> Self { | 87 | fn new(flavor: StructFlavor) -> Self { |
88 | match flavor { | 88 | match flavor { |
89 | StructFlavor::Tuple(fl) => { | 89 | StructFlavor::Tuple(fl) => { |
90 | let fields = fl | 90 | let fields = fl |