Skip to content

Commit

Permalink
chore: remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Nov 26, 2023
1 parent 35301b1 commit fc22c38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/symbol/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)

Check warning on line 37 in pkg/symbol/table.go

View check run for this annotation

Codecov / codecov/patch

pkg/symbol/table.go#L36-L37

Added lines #L36 - L37 were not covered by tests
Expand All @@ -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()

Expand Down

0 comments on commit fc22c38

Please sign in to comment.