diff --git a/crates/ra_syntax/src/ptr.rs b/crates/ra_syntax/src/ptr.rs index 8d9812d2418..ecbfffcf42d 100644 --- a/crates/ra_syntax/src/ptr.rs +++ b/crates/ra_syntax/src/ptr.rs @@ -30,10 +30,6 @@ pub fn to_node(&self, root: &SyntaxNode) -> SyntaxNode { .unwrap_or_else(|| panic!("can't resolve local ptr to SyntaxNode: {:?}", self)) } - // pub fn range(&self) -> TextRange { - // self.range - // } - pub fn cast(self) -> Option> { if !N::can_cast(self.kind) { return None;