Skip to content
Snippets Groups Projects
Commit c101e775 authored by Georges Racinet's avatar Georges Racinet
Browse files

rust-revlog: fix lifetime problem for RevlogEntry parent entries accessors

Without this, the lifetime of the result is equated to the lifetime of the
`self` reference, preventing callers, e.g., to take a `RevlogEntry` and
return its `p1_entry()`, as it looks like returning something that does not
outlive the *reference to* the `RevlogEntry`.
parent 7ef51fff
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment