Skip to content

Commit 2c003a6

Browse files
committed
fixed linting
1 parent 2654fe0 commit 2c003a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cluster/agglomerative.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ impl<TX: Number, TY: Number, X: Array2<TX>, Y: Array1<TY>> AgglomerativeClusteri
9898
return Err(Failed::because(
9999
FailedError::ParametersError,
100100
&format!(
101-
+ "n_clusters: {n_clusters} cannot be greater than n_samples: {num_samples}"
102-
+ ),
101+
"n_clusters: {n_clusters} cannot be greater than n_samples: {num_samples}"
102+
),
103103
));
104104
}
105105

0 commit comments

Comments
 (0)