summaryrefslogtreecommitdiff
path: root/doc/classes/Rect2.xml
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-11-22 20:27:15 +0300
committerGitHub <noreply@github.com>2022-11-22 20:27:15 +0300
commit0aba659891f5947d9b55ce7c70aa4d7209369717 (patch)
tree465b5630d84129c86333f79c205722127d1fc564 /doc/classes/Rect2.xml
parente3a51e53ef055a1fe94351b68173c6dfcd2cb371 (diff)
parenta5e5f1aa501fe43816d29c6aab403fd68ad7d634 (diff)
Merge pull request #68848 from Piralein/fix-class-ref
Fix warnings in class ref
Diffstat (limited to 'doc/classes/Rect2.xml')
-rw-r--r--doc/classes/Rect2.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml
index 28fe42afae..d39e50d5f0 100644
--- a/doc/classes/Rect2.xml
+++ b/doc/classes/Rect2.xml
@@ -82,9 +82,9 @@
var rect2 = rect.expand(Vector2(0, -1))
[/gdscript]
[csharp]
- # position (-3, 2), size (1, 1)
+ // position (-3, 2), size (1, 1)
var rect = new Rect2(new Vector2(-3, 2), new Vector2(1, 1));
- # position (-3, -1), size (3, 4), so we fit both rect and Vector2(0, -1)
+ // position (-3, -1), size (3, 4), so we fit both rect and Vector2(0, -1)
var rect2 = rect.Expand(new Vector2(0, -1));
[/csharp]
[/codeblocks]