##// END OF EJS Templates
rust-index: allow inlining `check_revision` across crates
Raphaël Gomès -
r52149:83de5a06 default
parent child Browse files
Show More
@@ -151,6 +151,7 b' pub trait RevlogIndex {'
151 /// index.
151 /// index.
152 ///
152 ///
153 /// [`NULL_REVISION`] is considered to be valid.
153 /// [`NULL_REVISION`] is considered to be valid.
154 #[inline(always)]
154 fn check_revision(&self, rev: UncheckedRevision) -> Option<Revision> {
155 fn check_revision(&self, rev: UncheckedRevision) -> Option<Revision> {
155 let rev = rev.0;
156 let rev = rev.0;
156
157
General Comments 0
You need to be logged in to leave comments. Login now