Skip to content

Commit 1fff7f4

Browse files
authored
Remove duplicated indexers (#77)
1 parent d9d0af3 commit 1fff7f4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

source/tutorials/programming-language/main/04-00-advanced-features/04-05-methods-with-syntax-support.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ Vala recognizes some methods with certain names and signatures and provides synt
2121
| T2 index2, T3 item)`` | index1, index2] = item`` |
2222
+----------------------------------+---------------------------------------+
2323

24-
+--------------------------------------------------------------------------+
25-
| **Indexers** |
26-
+================================+=========================================+
27-
| ``T2 get(T1 index)`` | Index access: ``obj[index]`` |
28-
+--------------------------------+-----------------------------------------+
29-
| ``void set(T1 index, T2 item)``| Index assignment: ``obj[index] = item`` |
30-
+--------------------------------+-----------------------------------------+
31-
3224
+-----------------------------------+--------------------------------------+
3325
| **Others** |
3426
+===================================+======================================+

0 commit comments

Comments
 (0)