From 88c48a1bf0c878675d59f9c6ca110e18ed78f63c Mon Sep 17 00:00:00 2001 From: Brendan Clement Date: Wed, 3 Jun 2026 10:07:57 -0700 Subject: [PATCH] docs: trim branch API comments --- nodejs/src/table.rs | 4 ---- rust/lancedb/src/table.rs | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/nodejs/src/table.rs b/nodejs/src/table.rs index acbe45aeb..2d674c67c 100644 --- a/nodejs/src/table.rs +++ b/nodejs/src/table.rs @@ -1176,11 +1176,7 @@ impl Branches { from_ref: Option, from_version: Option, ) -> napi::Result { - // "main" and None are two spellings of the root branch; normalize so - // from_ref = "main" behaves identically to the default. let from_ref = from_ref.filter(|b| b != "main"); - // Reject a negative version up front; `as u64` would silently wrap it - // into a huge version number. let from_version = from_version .map(|v| { u64::try_from(v).map_err(|_| { diff --git a/rust/lancedb/src/table.rs b/rust/lancedb/src/table.rs index e93ef4e6c..2d0558168 100644 --- a/rust/lancedb/src/table.rs +++ b/rust/lancedb/src/table.rs @@ -1639,8 +1639,7 @@ impl Table { self.inner.tags().await } - /// Create a new branch from `from` (a version, tag, or branch) and return - /// a writable, isolated handle scoped to it. `self` is unaffected. + /// Create a new branch from `from` (a version, tag, or branch) pub async fn create_branch( &self, name: &str,