mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: adjust the limitation for ADTs' fields to 5
This commit is contained in:
parent
c06d670f8f
commit
6bb85985d7
5 changed files with 7 additions and 7 deletions
|
@ -167,7 +167,7 @@ impl StaticIndex<'_> {
|
|||
keywords: true,
|
||||
format: crate::HoverDocFormat::Markdown,
|
||||
max_trait_assoc_items_count: None,
|
||||
max_adt_fields_or_variants_count: Some(10),
|
||||
max_adt_fields_or_variants_count: Some(5),
|
||||
};
|
||||
let tokens = tokens.filter(|token| {
|
||||
matches!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue