mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
minimize visibility
This commit is contained in:
parent
5edcf313f6
commit
54e5c4f085
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ impl EnumData {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl VariantData {
|
impl VariantData {
|
||||||
pub(crate) fn new(flavor: StructFlavor) -> Self {
|
fn new(flavor: StructFlavor) -> Self {
|
||||||
match flavor {
|
match flavor {
|
||||||
StructFlavor::Tuple(fl) => {
|
StructFlavor::Tuple(fl) => {
|
||||||
let fields = fl
|
let fields = fl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue