@@ -61,7 +61,7 @@ pub enum Event<'a, 'old, 'new> {
6161 entry_mode : gix_object:: tree:: EntryMode ,
6262 /// The object id after the rename.
6363 id : Id < ' new > ,
64- /// If true, this rewrite is created by copy, and `source_id` is pointing to its source. Otherwise it's a rename, and `source_id`
64+ /// If true, this rewrite is created by copy, and `source_id` is pointing to its source. Otherwise, it's a rename, and `source_id`
6565 /// points to a deleted object, as renames are tracked as deletions and additions of the same or similar content.
6666 copy : bool ,
6767 } ,
@@ -70,8 +70,9 @@ pub enum Event<'a, 'old, 'new> {
7070impl < ' a , ' old , ' new > super :: Change < ' a , ' old , ' new > {
7171 /// Produce a platform for performing a line-diff no matter whether the underlying [Event] is an addition, modification,
7272 /// deletion or rewrite.
73- /// Use `resource_cache` to store the diffable data and possibly reuse previously stored data.
74- /// Afterwards the platform, which holds on to `resource_cache`, can be used to perform ready-made operations on the
73+ /// Use `resource_cache` to store the diffable data and possibly reuse previously stored data, usually obtained with
74+ /// [crate::Repository::diff_resource_cache()].
75+ /// Afterward the platform, which holds on to `resource_cache`, can be used to perform ready-made operations on the
7576 /// pre-set resources.
7677 ///
7778 /// ### Warning about Memory Consumption
0 commit comments