]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/file-lines-1.rs
Tidy up and pass tests
[rust.git] / tests / target / file-lines-1.rs
index 250b25e6ea3a7182ec45860da0af7b028b28f0db..2601ca9fc94a01b01430d453d606cff5d4730553 100644 (file)
@@ -2,10 +2,9 @@
 
 fn floaters() {
     let x = Foo {
-            field1: val1,
-            field2: val2,
-        }
-        .method_call()
+        field1: val1,
+        field2: val2,
+    }.method_call()
         .method_call();
 
     let y = if cond {
@@ -18,6 +17,7 @@ fn floaters() {
     {
         match x {
             PushParam => {
+                // comment
                 stack.push(mparams[match cur.to_digit(10) {
                                             Some(d) => d as usize - 1,
                                             None => return Err("bad param number".to_owned()),