about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-01-24 18:48:03 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-06-04 12:24:14 -0500
commit585fe22cebd48d57c6720f18154fd72c14b04737 (patch)
treeac3aed608d21335ca308ec4b2b53112fac0d9d2d
parentd06f774338995c72284c95a12d159cedfe077aef (diff)
downloadrust-585fe22cebd48d57c6720f18154fd72c14b04737.tar.gz
rust-585fe22cebd48d57c6720f18154fd72c14b04737.zip
Fix line lengths
-rw-r--r--src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs b/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs
index 22622e228f5..06883a85790 100644
--- a/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs
+++ b/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs
@@ -47,12 +47,15 @@ impl Tracked for () {
 
 fn main() {
     let tracked: &dyn Tracked = &();
-    tracked.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method'
+    // The column is the start of 'track_caller_trait_method'
+    tracked.track_caller_trait_method(line!(), 13);
 
     const TRACKED: &dyn Tracked = &();
-    TRACKED.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method'
+    // The column is the start of 'track_caller_trait_method'
+    TRACKED.track_caller_trait_method(line!(), 13);
     TRACKED.track_caller_not_on_trait_method();
 
+    // The column is the start of `track_caller_through_self`
     let boxed: Box<dyn Tracked> = Box::new(());
-    boxed.track_caller_through_self(line!(), 11); // The column is the start of `track_caller_through_self`
+    boxed.track_caller_through_self(line!(), 11);
 }