Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsivkov committed Mar 21, 2024
1 parent b327816 commit 1c34ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Query[T any] struct {
}

func (q *Query[T]) Marshal() ([]byte, error) {
q.mu.RUnlock()
q.mu.RLock()
defer q.mu.RUnlock()
return json.Marshal(q)
}
Expand Down

0 comments on commit 1c34ff2

Please sign in to comment.