Skip to content

Commit 309c3d8

Browse files
committed
Update README.md.
1 parent fe5062a commit 309c3d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ int main() {
281281
auto longest_prefix = map2.longest_prefix("apple juice");
282282
if(longest_prefix != map2.end()) {
283283
// {apple, 1}
284-
std::cout << longest_prefix.key() << std::endl;
284+
std::cout << "{" << longest_prefix.key() << ", "
285+
<< *longest_prefix << "}" << std::endl;
285286
}
286287

287288
// Prefix erase

0 commit comments

Comments
 (0)