author | Raphaël Gomès <rgomes@octobus.net> |
Thu, 23 Nov 2023 18:48:07 +0100 | |
changeset 51278 | e74dd6d73cb5 |
parent 51277 | 83de5a06f6eb |
child 51279 | 8b89f7cc953a |
--- a/rust/hg-core/src/revlog/index.rs Thu Nov 23 18:47:42 2023 +0100 +++ b/rust/hg-core/src/revlog/index.rs Thu Nov 23 18:48:07 2023 +0100 @@ -280,6 +280,7 @@ } impl Graph for Index { + #[inline(always)] fn parents(&self, rev: Revision) -> Result<[Revision; 2], GraphError> { let err = || GraphError::ParentOutOfRange(rev); match self.get_entry(rev) {