aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-08 12:40:02 +0000
committerAleksey Kladov <[email protected]>2019-01-08 12:40:02 +0000
commit54e5c4f0859ecbac0762051ca680a567c67cff6f (patch)
treeee26b6d3dfa3ab9b027e9bf29c981fa823ef74d6 /crates
parent5edcf313f6b265c626b75f92c11fe62385ab9556 (diff)
minimize visibility
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/adt.rs2
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
86impl VariantData { 86impl 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