feat: bump msrv and rust to v1.83 and v1.85 (#1407)

This commit is contained in:
Myriad-Dreamin 2025-02-26 14:40:23 +08:00 committed by GitHub
parent 208ce3dbad
commit bbed728b82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 8 deletions

View file

@ -166,7 +166,7 @@ impl CompletionPair<'_, '_, '_> {
let docs = default_docs.get(&name).cloned();
let label_detail = ty.describe().map(From::from).or_else(|| Some("any".into()));
let label_detail = ty.describe().or_else(|| Some("any".into()));
crate::log_debug_ct!("scope completions!: {name} {ty:?} {label_detail:?}");
let detail = docs.or_else(|| label_detail.clone());

View file

@ -228,7 +228,7 @@ impl CompletionPair<'_, '_, '_> {
continue;
}
let label_details = ty.describe().map(From::from).or_else(|| Some("any".into()));
let label_details = ty.describe().or_else(|| Some("any".into()));
let base = Completion {
kind: CompletionKind::Func,
label_details,