pw_containers: Improve FlatMap doc example
Makes it more obvious what the template arguments map to.
Change-Id: I99c1b2d909aa071b7161010763785a68eca67c53
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/156651
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
diff --git a/pw_containers/public/pw_containers/flat_map.h b/pw_containers/public/pw_containers/flat_map.h
index f81ebc5..494fefa 100644
--- a/pw_containers/public/pw_containers/flat_map.h
+++ b/pw_containers/public/pw_containers/flat_map.h
@@ -39,7 +39,7 @@
// A simple, fixed-size associative array with lookup by key or value.
//
// FlatMaps are initialized with a std::array of Pair<K, V> objects:
-// FlatMap<int, int, 2> map({{{1, 2}, {3, 4}}});
+// FlatMap<char, int, 3> map({{{'A', 1}, {'B', 2}, {'C', 3}}});
//
// The keys do not need to be sorted as the constructor will sort the items
// if need be.