Show More
@@ -448,6 +448,7 impl Index { | |||||
448 | /// |
|
448 | /// | |
449 | /// The specified revision being of the checked type, it always exists |
|
449 | /// The specified revision being of the checked type, it always exists | |
450 | /// if it was validated by this index. |
|
450 | /// if it was validated by this index. | |
|
451 | #[inline(always)] | |||
451 | pub fn get_entry(&self, rev: Revision) -> Option<IndexEntry> { |
|
452 | pub fn get_entry(&self, rev: Revision) -> Option<IndexEntry> { | |
452 | if rev == NULL_REVISION { |
|
453 | if rev == NULL_REVISION { | |
453 | return None; |
|
454 | return None; |
General Comments 0
You need to be logged in to leave comments.
Login now