diff --git a/src/lib.rs b/src/lib.rs index 8ddd244..2fe6189 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,6 +56,7 @@ pub enum Algorithm { } /// Wrapps a usable interface around the actual stemmer implementation +#[derive(Clone)] pub struct Stemmer { stemmer: fn(&mut SnowballEnv) -> bool, }