From 80fa861cd688c8e7c92e27feaf6623ecfaa4901e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 5 Aug 2018 17:24:44 +0300 Subject: index expr --- src/yellow/red.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yellow/red.rs') diff --git a/src/yellow/red.rs b/src/yellow/red.rs index 91c4cd77f..f57c4a9b7 100644 --- a/src/yellow/red.rs +++ b/src/yellow/red.rs @@ -71,7 +71,7 @@ impl RedNode { match &self.children.read()[idx] { Some(child) => return Some(child.into()), None => (), - } + }; let green_children = self.green.children(); let start_offset = self.start_offset() + green_children[..idx] -- cgit v1.2.3