From 9a4957d143397256dc04f715660f758a65fcb9d1 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 30 Jul 2018 12:52:59 +0300 Subject: clean comments --- src/yellow/syntax.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yellow/syntax.rs b/src/yellow/syntax.rs index ae3302ed9..64af08236 100644 --- a/src/yellow/syntax.rs +++ b/src/yellow/syntax.rs @@ -18,7 +18,8 @@ impl<'a> TreeRoot for &'a SyntaxRoot {} #[derive(Clone, Copy)] pub struct SyntaxNode> { pub(crate) root: ROOT, - // guaranteed to be alive bc SyntaxRoot holds a strong ref + // Guaranteed to not dangle, because `root` holds a + // strong reference to red's ancestor red: ptr::NonNull, } -- cgit v1.2.3