Skip to content

Commit a60870d

Browse files
authored
docs: Demonstrate correct function in to_homogeneous example (dimforge#1346)
1 parent 6dce471 commit a60870d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geometry/transform.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ where
411411
/// 3.0, 4.0, 0.0,
412412
/// 0.0, 0.0, 1.0);
413413
/// let t = Transform2::from_matrix_unchecked(m);
414-
/// assert_eq!(t.into_inner(), m);
414+
/// assert_eq!(t.to_homogeneous(), m);
415415
/// ```
416416
#[inline]
417417
#[must_use]

0 commit comments

Comments
 (0)