We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c19f5 commit c28e539Copy full SHA for c28e539
src/lib.rs
@@ -164,7 +164,7 @@ impl KMeans {
164
rayon::ThreadPoolBuilder::new()
165
.num_threads(threads)
166
.build_global()
167
- .map_err(|e| KMeansError::InvalidParameter(format!("Thread setup failed: {}", e)))?;
+ .map_err(|e| KMeansError::InvalidParameter(format!("Thread setup failed: {e}")))?;
168
}
169
170
// Initialize
0 commit comments