Merge #6157
6157: Document privacy invariant of SyntaxPtr r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
6409d7e810
@ -12,6 +12,8 @@
|
||||
/// specific node across reparses of the same file.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct SyntaxNodePtr {
|
||||
// Don't expose this field further. At some point, we might want to replace
|
||||
// range with node id.
|
||||
pub(crate) range: TextRange,
|
||||
kind: SyntaxKind,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user