From 3f5347e4b36b0848173c39890dd082bb9386287b Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 26 Mar 2023 23:39:45 +0100 Subject: [PATCH] Fix code comments --- lib/src/sql/value/get.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/sql/value/get.rs b/lib/src/sql/value/get.rs index ae67c46d..29afc552 100644 --- a/lib/src/sql/value/get.rs +++ b/lib/src/sql/value/get.rs @@ -27,13 +27,13 @@ impl Value { match path.first() { // Get the current path part Some(p) => match self { - // Current path part is an object + // Current path part is a future Value::Future(v) => { // Check how many path parts are remaining match path.len() { // No further embedded fields, so just return this 0 => Ok(Value::Future(v.clone())), - // + // Process the future and fetch the embedded field _ => v.compute(ctx, opt, txn, None).await?.get(ctx, opt, txn, path).await, } }