feat: makes smartcore::error:FailedError non-exhaustive

This commit is contained in:
Volodymyr Orlov
2020-12-17 13:01:45 -08:00
parent 2c892aa603
commit f76a1d1420
+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