Skip to content

Commit

Permalink
docs: Fix unbalanced backticks.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored and Ralith committed Dec 10, 2023
1 parent a91e3b0 commit c3fe38b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/dimensional_genericity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(plane_normal: &Unit<Vector3<T>>, vector: &Vector3<T>) -> Vector3<T>
where
T: RealField,
Expand Down
2 changes: 1 addition & 1 deletion src/base/norm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ impl<T: Scalar, R: Dim, C: Dim, S: Storage<T, R, C>> Matrix<T, R, C, S> {
/// 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
Expand Down

0 comments on commit c3fe38b

Please sign in to comment.