Skip to content

Commit 8e64b24

Browse files
michielp1807folkertdev
authored andcommitted
Fix (copied) typo in docs
1 parent d073e8a commit 8e64b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/zdict.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub mod experimental {
5656
pub nbThreads: core::ffi::c_uint,
5757
/// Set the percentage of samples used for training (only used for optimization).
5858
///
59-
/// The first `nbSamples * splitPoint` samples will be used to training, the last
59+
/// The first `nbSamples * splitPoint` samples will be used for training, the last
6060
/// `nbSamples * (1 - splitPoint)` samples will be used for testing.
6161
///
6262
/// 0.0 means default (1.0), 1.0 means all samples are used for both training and testing.
@@ -93,7 +93,7 @@ pub mod experimental {
9393
pub nbThreads: core::ffi::c_uint,
9494
/// Percentage of samples used for training (only used for optimization)
9595
///
96-
/// The first `nbSamples * splitPoint` samples will be used to training, the last
96+
/// The first `nbSamples * splitPoint` samples will be used for training, the last
9797
/// `nbSamples * (1 - splitPoint)` samples will be used for testing.
9898
///
9999
/// 0.0 means default (0.75), 1.0 means all samples are used for both training and testing.

0 commit comments

Comments
 (0)