summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-structr/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/codeberg.org/gruf/go-structr/index.go')
-rw-r--r--vendor/codeberg.org/gruf/go-structr/index.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/codeberg.org/gruf/go-structr/index.go b/vendor/codeberg.org/gruf/go-structr/index.go
index b1e05b9b9..8605cdb25 100644
--- a/vendor/codeberg.org/gruf/go-structr/index.go
+++ b/vendor/codeberg.org/gruf/go-structr/index.go
@@ -349,15 +349,15 @@ type index_entry struct {
// elem.data is ptr to index_entry.
elem list_elem
- // raw cache key
- // for this entry.
- key string
-
// index this is stored in.
index *Index
// underlying indexed item.
item *indexed_item
+
+ // raw cache key
+ // for this entry.
+ key string
}
var index_entry_pool sync.Pool