From c3fe38b318bbc620a4c0ab881efd2c7245dccdbe Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 8 Oct 2023 00:13:25 +0700 Subject: [PATCH] docs: Fix unbalanced backticks. --- examples/dimensional_genericity.rs | 2 +- src/base/norm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/dimensional_genericity.rs b/examples/dimensional_genericity.rs index 1fdd5a5f..e3c4fb5c 100644 --- a/examples/dimensional_genericity.rs +++ b/examples/dimensional_genericity.rs @@ -28,7 +28,7 @@ where } /// Reflects a 3D vector wrt. the 3D plane with normal `plane_normal`. -/// /!\ This is an exact replicate of `reflect_wrt_hyperplane2, but for 3D. +/// /!\ This is an exact replicate of `reflect_wrt_hyperplane2`, but for 3D. fn reflect_wrt_hyperplane3(plane_normal: &Unit>, vector: &Vector3) -> Vector3 where T: RealField, diff --git a/src/base/norm.rs b/src/base/norm.rs index 11f5661f..63d20218 100644 --- a/src/base/norm.rs +++ b/src/base/norm.rs @@ -336,7 +336,7 @@ impl> Matrix { /// Sets the magnitude of this vector unless it is smaller than `min_magnitude`. /// /// If `self.magnitude()` is smaller than `min_magnitude`, it will be left unchanged. - /// Otherwise this is equivalent to: `*self = self.normalize() * magnitude. + /// Otherwise this is equivalent to: `*self = self.normalize() * magnitude`. #[inline] pub fn try_set_magnitude(&mut self, magnitude: T::RealField, min_magnitude: T::RealField) where