From aa31841efc7e26731b0e27f1c6bf7e1724c96277 Mon Sep 17 00:00:00 2001 From: Tamo Date: Thu, 26 Sep 2024 10:07:51 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- src/writer.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/writer.rs b/src/writer.rs index 6130266c..60d39ef0 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -41,7 +41,7 @@ struct BuildOption { } impl<'a, D: Distance, R: Rng + SeedableRng> ArroyBuilder<'a, D, R> { - /// The number of trees to build. If not set arroy will determine the best amount to build for your number of vectors itself. + /// The number of trees to build. If not set arroy will determine the best amount to build for your number of vectors by itself. /// /// # Example /// @@ -59,6 +59,7 @@ impl<'a, D: Distance, R: Rng + SeedableRng> ArroyBuilder<'a, D, R> { } /// Configure the maximum number of items stored in a descendant node. + /// /// This is only applied to the newly created or updated tree node. /// If the value is modified while working on an already existing database, /// the nodes that don't need to be updated won't be recreated. @@ -85,7 +86,7 @@ impl<'a, D: Distance, R: Rng + SeedableRng> ArroyBuilder<'a, D, R> { /// /// This function is using rayon to spawn threads. It can be configured /// by using the [`rayon::ThreadPoolBuilder`] and the - /// [`rayon::ThreadPool::install`] to use it. + /// [`rayon::ThreadPool::install`]. /// /// # Example ///