mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
rename stray id field
This commit is contained in:
parent
5abcca516d
commit
4ac338b608
@ -875,7 +875,7 @@ fn highlight(world: &ServerWorld, file_id: FileId) -> Result<Vec<Decoration>> {
|
||||
.map(|h| Decoration {
|
||||
range: h.range.conv_with(&line_index),
|
||||
tag: h.tag,
|
||||
id: h.binding_hash.map(|x| x.to_string()),
|
||||
binding_hash: h.binding_hash.map(|x| x.to_string()),
|
||||
})
|
||||
.collect();
|
||||
Ok(res)
|
||||
|
@ -129,7 +129,7 @@ pub struct PublishDecorationsParams {
|
||||
pub struct Decoration {
|
||||
pub range: Range,
|
||||
pub tag: &'static str,
|
||||
pub id: Option<String>,
|
||||
pub binding_hash: Option<String>,
|
||||
}
|
||||
|
||||
pub enum ParentModule {}
|
||||
|
Loading…
Reference in New Issue
Block a user