utils: documentation fixup
This commit is contained in:
parent
7ad5edd6a3
commit
8022a60089
|
@ -836,7 +836,7 @@ impl<N: Coordinate, Kind> Rectangle<N, Kind> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new [`Rectangle`] from the coordinates of its top-left corner and its dimensions
|
/// Create a new [`Rectangle`] from the coordinates of its top-left corner and its bottom-right corner
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn from_extemities(
|
pub fn from_extemities(
|
||||||
topleft: impl Into<Point<N, Kind>>,
|
topleft: impl Into<Point<N, Kind>>,
|
||||||
|
|
Loading…
Reference in New Issue