diff --git a/Cargo.toml b/Cargo.toml index 1d45b2b..5d0cd0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,5 +2,6 @@ name = "clusters" version = "0.1.0" authors = ["Alan K "] +edition = "2021" [dependencies] \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 7af1d48..99fe7f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,5 +64,5 @@ pub trait Algorithm { /// To accomodate the various required parameters of different algorithms, /// it is expected that this trait is implemented by types that have /// access to their requirements. For instance, as fields in a struct. - fn cluster(&self, clusterables: &[T]) -> Box>; + fn cluster(&self, clusterables: &[T]) -> Box>; }