Browse Source

Update demo.odin

gingerBill 5 years ago
parent
commit
88c90cf99a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/demo/demo.odin

+ 1 - 1
examples/demo/demo.odin

@@ -1148,7 +1148,7 @@ map_type :: proc() {
 	// can be done in two ways:
 	elem, ok := m["Bob"];
 	exists := "Bob" in m;
-	_ = elem;
+	_, _ = elem, ok;
 	_ = exists;
 }