Skip to content

Commit 585fe22

Browse files
committed
Fix line lengths
1 parent d06f774 commit 585fe22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ impl Tracked for () {
4747

4848
fn main() {
4949
let tracked: &dyn Tracked = &();
50-
tracked.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method'
50+
// The column is the start of 'track_caller_trait_method'
51+
tracked.track_caller_trait_method(line!(), 13);
5152

5253
const TRACKED: &dyn Tracked = &();
53-
TRACKED.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method'
54+
// The column is the start of 'track_caller_trait_method'
55+
TRACKED.track_caller_trait_method(line!(), 13);
5456
TRACKED.track_caller_not_on_trait_method();
5557

58+
// The column is the start of `track_caller_through_self`
5659
let boxed: Box<dyn Tracked> = Box::new(());
57-
boxed.track_caller_through_self(line!(), 11); // The column is the start of `track_caller_through_self`
60+
boxed.track_caller_through_self(line!(), 11);
5861
}

0 commit comments

Comments
 (0)