Merge pull request #40 from smartcorelib/non_exhaustive_failure

feat: makes smartcore::error:FailedError non-exhaustive
This commit is contained in:
VolodymyrOrlov
2020-12-18 12:53:56 -08:00
committed by GitHub
+1
View File
@@ -12,6 +12,7 @@ pub struct Failed {
}
/// Type of error
#[non_exhaustive]
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
pub enum FailedError {
/// Can't fit algorithm to data