Rust 1.85 (#25272)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
parent
fc52b43159
commit
e4e758db3a
68 changed files with 180 additions and 190 deletions
|
@ -1632,9 +1632,9 @@ impl BufferStore {
|
|||
// file in the Cargo registry (presumably opened with go-to-definition
|
||||
// from a normal Rust file). If so, we can put together a permalink
|
||||
// using crate metadata.
|
||||
if !buffer
|
||||
if buffer
|
||||
.language()
|
||||
.is_some_and(|lang| lang.name() == "Rust".into())
|
||||
.is_none_or(|lang| lang.name() != "Rust".into())
|
||||
{
|
||||
return Task::ready(Err(anyhow!("no permalink available")));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue