]> git.lizzy.rs Git - rust.git/commitdiff
Add impl newline tests
authorKevin Yeh <kevinyeah@utexas.edu>
Tue, 24 Nov 2015 04:54:44 +0000 (22:54 -0600)
committerKevin Yeh <kevinyeah@utexas.edu>
Tue, 24 Nov 2015 19:02:55 +0000 (13:02 -0600)
tests/source/impls.rs
tests/target/impls.rs

index 499b07afd27b6e939a0e280e861d34023077dde4..c15ae12325e0927f4a4c7b42680219f0173f5033 100644 (file)
@@ -26,6 +26,16 @@ impl Foo {
     fn foo() {}
 }
 
+impl Boo {
+
+    // BOO
+    fn boo() {}
+    // FOO
+
+    
+    
+}
+
 mod a {
     impl Foo {
         // Hello!
index cc60b8227944917f48389241623b157c1394139c..972991572a50aa10e112e97ebd55a69c9da77d94 100644 (file)
@@ -42,6 +42,12 @@ impl Foo {
     fn foo() {}
 }
 
+impl Boo {
+    // BOO
+    fn boo() {}
+    // FOO
+}
+
 mod a {
     impl Foo {
         // Hello!