DOC: Use norm_squared() in its doctest

This commit is contained in:
Matthias Geier 2023-09-30 13:01:11 +02:00
parent f404bcbd6d
commit 87796ace42

View File

@ -271,7 +271,7 @@ where
/// ```
/// # use nalgebra::Quaternion;
/// let q = Quaternion::new(1.0, 2.0, 3.0, 4.0);
/// assert_eq!(q.magnitude_squared(), 30.0);
/// assert_eq!(q.norm_squared(), 30.0);
/// ```
#[inline]
#[must_use]