mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Clean up
This commit is contained in:
parent
ca957f4f82
commit
2e52aa1615
6 changed files with 41 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
//! proc-macro server backend based on rust-analyzer's internal span represention
|
||||
//! This backend is used solely by rust-analyzer as it ties into rust-analyzer internals.
|
||||
//!
|
||||
//! It is an unfortunate result of how the proc-macro API works that we need to look into the
|
||||
//! concrete representation of the spans, and as such, RustRover cannot make use of this unless they
|
||||
//! change their representation to be compatible with rust-analyzer's.
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
iter,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! proc-macro server backend based on [`proc_macro_api::msg::TokenId`] as the backing span.
|
||||
//! This backend is rather inflexible, used by RustRover and older rust-analyzer versions.
|
||||
use std::{
|
||||
iter,
|
||||
ops::{Bound, Range},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue