From d85c10a73cd1b922acd3ac3af6cf28fe5ef7d2d9 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Sun, 6 Jun 2021 11:34:29 +0200 Subject: [PATCH] Add some missing question marks --- src/linalg/cholesky.rs | 2 +- src/linalg/qr.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,