utils: documentation fixup

This commit is contained in:
Victor Brekenfeld 2021-12-16 16:57:07 +01:00
parent 7ad5edd6a3
commit 8022a60089
1 changed files with 1 additions and 1 deletions

View File

@ -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]
pub fn from_extemities(
topleft: impl Into<Point<N, Kind>>,