From befa442480ce6268848f2480c803f2740c6f64af Mon Sep 17 00:00:00 2001 From: mundo-68 Date: Sun, 18 Feb 2024 20:02:43 +0100 Subject: [PATCH] repair cargo doc warnings --- src/delta.rs | 2 +- src/iterator.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/delta.rs b/src/delta.rs index 4840ed4..8bcb335 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -125,7 +125,7 @@ impl Delta { /// /// Private function to add one operation to the end of the operations vector /// - /// Performs `compaction` by composing [operation] with current tail operation + /// Performs `compaction` by composing `[operation]` with current tail operation /// of this delta, when possible. /// /// For instance, if current tail is
diff --git a/src/iterator.rs b/src/iterator.rs index 3ae3334..e9505c7 100644 --- a/src/iterator.rs +++ b/src/iterator.rs @@ -80,7 +80,7 @@ impl<'a> DeltaIterator<'a> { /// /// Assuming we are on an offset o in an DeltaOperation on Delta operation index i.
/// We return the remaining length of the Delta operation we point to: - /// op[i].len - offset + /// `op[i].len - offset` /// /// It should never return 0 if our index is being managed correctly ///