Skip to content
Snippets Groups Projects
Commit 00222775 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

rust-refsharing: add missing lifetime parameter in ref_sharing

Differential Revision: https://phab.mercurial-scm.org/D7110
parent 99394e6c
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@
Self { py, owner, data }
}
pub fn borrow(&self) -> Ref<T> {
pub fn borrow(&self) -> Ref<'a, T> {
self.data.borrow()
}
......
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