diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml
index fdabb110c659..4f17e3cf2de6 100644
--- a/doc/classes/Rect2.xml
+++ b/doc/classes/Rect2.xml
@@ -83,7 +83,7 @@
- Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
+ Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2(0, 0, 5, 2)
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index 79d9e3f6dfe9..c021a1be26f4 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -82,7 +82,7 @@
- Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
+ Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2i(0, 0, 5, 2)