mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
feat: bump msrv and rust to v1.83 and v1.85 (#1407)
This commit is contained in:
parent
208ce3dbad
commit
bbed728b82
7 changed files with 8 additions and 8 deletions
|
@ -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());
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue