Skip to content

Commit c28e539

Browse files
committed
Fix clippy
1 parent 99c19f5 commit c28e539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl KMeans {
164164
rayon::ThreadPoolBuilder::new()
165165
.num_threads(threads)
166166
.build_global()
167-
.map_err(|e| KMeansError::InvalidParameter(format!("Thread setup failed: {}", e)))?;
167+
.map_err(|e| KMeansError::InvalidParameter(format!("Thread setup failed: {e}")))?;
168168
}
169169

170170
// Initialize

0 commit comments

Comments
 (0)