@@ -61,7 +61,7 @@ pub enum Event<'a, 'old, 'new> {
61
61
entry_mode : gix_object:: tree:: EntryMode ,
62
62
/// The object id after the rename.
63
63
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`
65
65
/// points to a deleted object, as renames are tracked as deletions and additions of the same or similar content.
66
66
copy : bool ,
67
67
} ,
@@ -70,8 +70,9 @@ pub enum Event<'a, 'old, 'new> {
70
70
impl < ' a , ' old , ' new > super :: Change < ' a , ' old , ' new > {
71
71
/// Produce a platform for performing a line-diff no matter whether the underlying [Event] is an addition, modification,
72
72
/// 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
75
76
/// pre-set resources.
76
77
///
77
78
/// ### Warning about Memory Consumption
0 commit comments