From 568ccbedbe8fdacf31a0f0a308922fc69edf3bb1 Mon Sep 17 00:00:00 2001 From: reanon <793584285@qq.com> Date: Fri, 13 Jan 2023 17:40:20 +0800 Subject: [PATCH] fix(heap): add go codes --- docs/chapter_heap/heap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter_heap/heap.md b/docs/chapter_heap/heap.md index 9249932570..15d22e7879 100644 --- a/docs/chapter_heap/heap.md +++ b/docs/chapter_heap/heap.md @@ -262,7 +262,7 @@ comments: true ```go title="my_heap.go" type maxHeap struct { - // 使用切片而非数组,这样无需考虑扩容问题 + // 使用切片而非数组,这样无需考虑扩容问题 data []any }