mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Update demo.odin
This commit is contained in:
@@ -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