Skip to content

Commit f34be6f

Browse files
committed
[4.4] Fix indentation in Dictionary.xml code blocks
1 parent ef77911 commit f34be6f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

doc/classes/Dictionary.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,30 +139,30 @@
139139
# Creates a typed dictionary with String keys and int values.
140140
# Attempting to use any other type for keys or values will result in an error.
141141
var typed_dict: Dictionary[String, int] = {
142-
"some_key": 1,
143-
"some_other_key": 2,
142+
"some_key": 1,
143+
"some_other_key": 2,
144144
}
145145

146146
# Creates a typed dictionary with String keys and values of any type.
147147
# Attempting to use any other type for keys will result in an error.
148148
var typed_dict_key_only: Dictionary[String, Variant] = {
149-
"some_key": 12.34,
150-
"some_other_key": "string",
149+
"some_key": 12.34,
150+
"some_other_key": "string",
151151
}
152152
[/gdscript]
153153
[csharp]
154154
// Creates a typed dictionary with String keys and int values.
155155
// Attempting to use any other type for keys or values will result in an error.
156156
var typedDict = new Godot.Collections.Dictionary<String, int> {
157-
{"some_key", 1},
158-
{"some_other_key", 2},
157+
{"some_key", 1},
158+
{"some_other_key", 2},
159159
};
160160

161161
// Creates a typed dictionary with String keys and values of any type.
162162
// Attempting to use any other type for keys will result in an error.
163163
var typedDictKeyOnly = new Godot.Collections.Dictionary<String, Variant> {
164-
{"some_key", 12.34},
165-
{"some_other_key", "string"},
164+
{"some_key", 12.34},
165+
{"some_other_key", "string"},
166166
};
167167
[/csharp]
168168
[/codeblocks]

0 commit comments

Comments
 (0)