diff options
-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 |