diff --git a/src/mstl_result.rs b/src/mstl_result.rs index 11589e2..f6533bf 100644 --- a/src/mstl_result.rs +++ b/src/mstl_result.rs @@ -33,7 +33,7 @@ impl MstlResult { strength(self.trend(), self.remainder()) } - /// Takes ownership of the components. + /// Consumes the result, returning the seasonal components, trend component, and remainder. pub fn into_parts(self) -> (Vec>, Vec, Vec) { (self.seasonal, self.trend, self.remainder) } diff --git a/src/stl_result.rs b/src/stl_result.rs index b99666c..173d1df 100644 --- a/src/stl_result.rs +++ b/src/stl_result.rs @@ -47,7 +47,7 @@ impl StlResult { strength(self.trend(), self.remainder()) } - /// Takes ownership of the components. + /// Consumes the result, returning the seasonal component, trend component, remainder, and weights. pub fn into_parts(self) -> (Vec, Vec, Vec, Vec) { (self.seasonal, self.trend, self.remainder, self.weights) }