changeset 45593:da30e4b553c3

hg-core: minor docstring update (D8958#inline-14991 followup) Differential Revision: https://phab.mercurial-scm.org/D9097
author Antoine cezar<acezar@chwitlabs.fr>
date Mon, 28 Sep 2020 13:55:47 +0200
parents a886ffd2ffc6
children 48438e8968a2
files rust/hg-core/src/revlog/index.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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