docs: Demonstrate correct function in to_homogeneous example (#1346)

This commit is contained in:
Benjamin De Roeck 2024-01-05 04:21:40 +01:00 committed by GitHub
parent 6dce471297
commit a60870daf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ where
/// 3.0, 4.0, 0.0,
/// 0.0, 0.0, 1.0);
/// let t = Transform2::from_matrix_unchecked(m);
/// assert_eq!(t.into_inner(), m);
/// assert_eq!(t.to_homogeneous(), m);
/// ```
#[inline]
#[must_use]