From fc22c385adf88afc7a832831526622c1ada9b1c6 Mon Sep 17 00:00:00 2001 From: siyul-park Date: Sun, 26 Nov 2023 08:01:07 -0500 Subject: [PATCH] chore: remove unused comment --- pkg/symbol/table.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/symbol/table.go b/pkg/symbol/table.go index 02de09c6..7bdef3ea 100644 --- a/pkg/symbol/table.go +++ b/pkg/symbol/table.go @@ -32,7 +32,6 @@ func NewTable(opts ...TableOptions) *Table { var loadHooks []LoadHook var unloadHooks []UnloadHook - // Collect load and unload hooks from the provided options. for _, opt := range opts { loadHooks = append(loadHooks, opt.LoadHooks...) unloadHooks = append(unloadHooks, opt.UnloadHooks...) @@ -50,7 +49,6 @@ func NewTable(opts ...TableOptions) *Table { // Insert adds a Symbol to the table. func (t *Table) Insert(sym *Symbol) error { - // Lock the table to ensure atomicity. t.mu.Lock() defer t.mu.Unlock()