Submitter | phabricator |
---|---|
Date | Oct. 16, 2019, 9:43 p.m. |
Message ID | <4be928cf0a98e4e13f618af94ad4b8b5@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/42433/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/rust/hg-cpython/src/ref_sharing.rs b/rust/hg-cpython/src/ref_sharing.rs --- a/rust/hg-cpython/src/ref_sharing.rs +++ b/rust/hg-cpython/src/ref_sharing.rs @@ -179,7 +179,7 @@ Self { py, owner, data } } - pub fn borrow(&self) -> Ref<T> { + pub fn borrow(&self) -> Ref<'a, T> { self.data.borrow() }