@@ -45,13 +45,13 @@ impl AccessCause {
45
45
/// Complete data for an event:
46
46
#[ derive( Clone , Debug ) ]
47
47
pub struct Event {
48
- /// Transformation of permissions that occured because of this event
48
+ /// Transformation of permissions that occured because of this event.
49
49
pub transition : PermTransition ,
50
- /// Kind of the access that triggered this event
50
+ /// Kind of the access that triggered this event.
51
51
pub access_cause : AccessCause ,
52
- /// Relative position of the tag to the one used for the access
52
+ /// Relative position of the tag to the one used for the access.
53
53
pub is_foreign : bool ,
54
- /// Whether this access was explicit or inserted implicitly by Tree Borrows .
54
+ /// User-visible range of the access .
55
55
pub access_range : AllocRange ,
56
56
/// The transition recorded by this event only occured on a subrange of
57
57
/// `access_range`: a single access on `access_range` triggers several events,
@@ -66,7 +66,7 @@ pub struct Event {
66
66
/// the `TbError`, which should satisfy
67
67
/// `event.transition_range.contains(error.error_offset)`.
68
68
pub transition_range : Range < u64 > ,
69
- /// Line of code that triggered this event
69
+ /// Line of code that triggered this event.
70
70
pub span : Span ,
71
71
}
72
72
0 commit comments