hg-core: minor docstring update (D8958#inline-14991 followup)
authorAntoine cezar<acezar@chwitlabs.fr>
Mon, 28 Sep 2020 13:55:47 +0200
changeset 45593 da30e4b553c3
parent 45592 a886ffd2ffc6
child 45594 48438e8968a2
hg-core: minor docstring update (D8958#inline-14991 followup) Differential Revision: https://phab.mercurial-scm.org/D9097
rust/hg-core/src/revlog/index.rs
--- a/rust/hg-core/src/revlog/index.rs	Mon Sep 28 13:53:11 2020 +0200
+++ b/rust/hg-core/src/revlog/index.rs	Mon Sep 28 13:55:47 2020 +0200
@@ -126,7 +126,7 @@
 }
 
 impl<'a> IndexEntry<'a> {
-    /// Return the offset of the data if not overridden by offset_override.
+    /// Return the offset of the data.
     pub fn offset(&self) -> usize {
         if let Some(offset_override) = self.offset_override {
             offset_override