Skip to content

Commit e6fcb26

Browse files
committed
Update abs() comment
1 parent 3e7781b commit e6fcb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godot-core/src/builtin/rect2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl Rect2 {
4545
}
4646
}
4747

48-
/// Returns a rectangle with equivalent position and area, modified so that the top-left corner is the origin and `width` and `height` are positive.
48+
/// Returns a rectangle with the same geometry, with top-left corner as position and non-negative size.
4949
///
5050
/// _Godot equivalent: `Rect2.abs()`_
5151
#[inline]

0 commit comments

Comments
 (0)