Skip to content

Commit 3e7781b

Browse files
juliohqBromeon
andcommitted
Update encloses() docstring
Co-authored-by: Jan Haller <[email protected]>
1 parent d7c43bb commit 3e7781b

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
@@ -56,7 +56,7 @@ impl Rect2 {
5656
}
5757
}
5858

59-
/// Returns true if this rectangle (inclusively) encloses `b`. This is true when `self` covers all the area of `b`, and possibly (but not necessarily) more.
59+
/// Whether `self` covers at least the entire area of `b` (and possibly more).
6060
///
6161
/// _Godot equivalent: `Rect2.encloses(Rect2 b)`_
6262
#[inline]

0 commit comments

Comments
 (0)