From dd59237e0ce48adc0f5f459c73a5687ffa748a2a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 23 Apr 2020 23:18:18 +0200 Subject: minor --- crates/ra_syntax/src/ptr.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/ra_syntax/src/ptr.rs b/crates/ra_syntax/src/ptr.rs index 8d9812d24..ecbfffcf4 100644 --- a/crates/ra_syntax/src/ptr.rs +++ b/crates/ra_syntax/src/ptr.rs @@ -30,10 +30,6 @@ impl SyntaxNodePtr { .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; -- cgit v1.2.3