diff --git a/src/linalg/cholesky.rs b/src/linalg/cholesky.rs index eb2ebc9f..fa090852 100644 --- a/src/linalg/cholesky.rs +++ b/src/linalg/cholesky.rs @@ -119,7 +119,7 @@ where /// Returns the solution of the system `self * x = b` where `self` is the decomposed matrix and /// `x` the unknown. - #[must_use = "Did you mean to use solve_mut()"] + #[must_use = "Did you mean to use solve_mut()?"] pub fn solve(&self, b: &Matrix) -> OMatrix where S2: Storage, diff --git a/src/linalg/qr.rs b/src/linalg/qr.rs index 103916a0..a0fd898e 100644 --- a/src/linalg/qr.rs +++ b/src/linalg/qr.rs @@ -164,7 +164,7 @@ where /// Solves the linear system `self * x = b`, where `x` is the unknown to be determined. /// /// Returns `None` if `self` is not invertible. - #[must_use = "Did you mean to use solve_mut()"] + #[must_use = "Did you mean to use solve_mut()?"] pub fn solve( &self, b: &Matrix,