Use numbers for lifetimes by default, add setting to prefer using parameter names

This commit is contained in:
Lukas Wirth 2022-03-19 18:11:56 +01:00
parent c22fed895e
commit 45756c823f
3 changed files with 94 additions and 59 deletions

View file

@ -112,6 +112,7 @@ impl StaticIndex<'_> {
closure_return_type_hints: true,
lifetime_elision_hints: false,
hide_named_constructor_hints: false,
param_names_for_lifetime_elision_hints: false,
max_length: Some(25),
},
file_id,