Update demo.odin
This commit is contained in:
1 parent
321dcc60e3
commit
88c90cf99a
1 file changed
+1
-1
@@ -1148,7 +1148,7 @@ map_type :: proc() {
|
|||||||
// can be done in two ways:
|
// can be done in two ways:
|
||||||
elem, ok := m["Bob"];
|
elem, ok := m["Bob"];
|
||||||
exists := "Bob" in m;
|
exists := "Bob" in m;
|
||||||
_ = elem;
|
_, _ = elem, ok;
|
||||||
_ = exists;
|
_ = exists;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user