Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Renault <[email protected]>
  • Loading branch information
irevoire and Kerollmops authored Sep 26, 2024
1 parent 5cf3e2d commit aa31841
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand All @@ -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.
Expand All @@ -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
///
Expand Down

0 comments on commit aa31841

Please sign in to comment.