Skip to content

Do not tie index lifetime to value lifetime#46

Open
csnover wants to merge 1 commit intoPSeitz:mainfrom
csnover:twice-in-a-lifetime
Open

Do not tie index lifetime to value lifetime#46
csnover wants to merge 1 commit intoPSeitz:mainfrom
csnover:twice-in-a-lifetime

Conversation

@csnover
Copy link
Copy Markdown
Contributor

@csnover csnover commented Feb 18, 2026

The index lifetime is not the same as the value lifetime. Tying them together means that it is not possible to look up a value using an index with a shorter lifetime.

Because this changes the signature of the public Index trait, it is a breaking change, though probably nobody would notice.

The index lifetime is not the same as the value lifetime.
Tying them together means that it is not possible to look up a
value using an index with a shorter lifetime.

Because this changes the signature of the public Index trait,
it is a breaking change, though probably nobody would notice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant