From 19439153aa36dda24590c219d98e051063195e39 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 12 Nov 2025 21:32:56 +0100 Subject: [PATCH] fix(docs): fix broken link from Style to Performance Specifying map capacity hints is part of the Performance section. --- docs/style-guide/style.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/style-guide/style.mdx b/docs/style-guide/style.mdx index de79065..b6cf38d 100644 --- a/docs/style-guide/style.mdx +++ b/docs/style-guide/style.mdx @@ -1167,7 +1167,7 @@ Declaration and initialization are visually distinct. Where possible, provide capacity hints when initializing maps with `make()`. See -[Specifying Map Capacity Hints](#specifying-map-capacity-hints) +[Specifying Map Capacity Hints](performance.mdx#specifying-map-capacity-hints) for more information. On the other hand, if the map holds a fixed list of elements,