diff options
| author | bors <bors@rust-lang.org> | 2023-06-05 19:16:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-05 19:16:50 +0000 |
| commit | 634c21f4de3207a5dbfa3c3ce3744bc3ea447ae2 (patch) | |
| tree | b9491604e9e8d9dd4dae3bbe02735b5e4663fdc9 | |
| parent | 98c5fce3413b922c127a28fe355b1330422d561c (diff) | |
| parent | c87f6d9643a471e1c6394d3388e729c1553edb57 (diff) | |
Auto merge of #2919 - Vanille-N:tb-diags, r=RalfJung
Revert error in doc comment Also punctuation
| -rw-r--r-- | src/tools/miri/src/borrow_tracker/tree_borrows/diagnostics.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/miri/src/borrow_tracker/tree_borrows/diagnostics.rs b/src/tools/miri/src/borrow_tracker/tree_borrows/diagnostics.rs index 1a7f14f0ab9..a87a4bbddad 100644 --- a/src/tools/miri/src/borrow_tracker/tree_borrows/diagnostics.rs +++ b/src/tools/miri/src/borrow_tracker/tree_borrows/diagnostics.rs @@ -45,13 +45,13 @@ impl AccessCause { /// Complete data for an event: #[derive(Clone, Debug)] pub struct Event { - /// Transformation of permissions that occured because of this event + /// Transformation of permissions that occured because of this event. pub transition: PermTransition, - /// Kind of the access that triggered this event + /// Kind of the access that triggered this event. pub access_cause: AccessCause, - /// Relative position of the tag to the one used for the access + /// Relative position of the tag to the one used for the access. pub is_foreign: bool, - /// Whether this access was explicit or inserted implicitly by Tree Borrows. + /// User-visible range of the access. pub access_range: AllocRange, /// The transition recorded by this event only occured on a subrange of /// `access_range`: a single access on `access_range` triggers several events, @@ -66,7 +66,7 @@ pub struct Event { /// the `TbError`, which should satisfy /// `event.transition_range.contains(error.error_offset)`. pub transition_range: Range<u64>, - /// Line of code that triggered this event + /// Line of code that triggered this event. pub span: Span, } |
