about summary refs log tree commit diff
path: root/src/test/run-pass
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2017-07-15 04:31:15 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2017-07-28 15:46:26 +0200
commitb744b1cfe35b6a5ea81d4a145616e7337378ab2d (patch)
tree4199f72148a56eae9df7fb0b5786bba66e448762 /src/test/run-pass
parentcbdb18650e383fd49beb442ce02d006d0daf865c (diff)
downloadrust-b744b1cfe35b6a5ea81d4a145616e7337378ab2d.tar.gz
rust-b744b1cfe35b6a5ea81d4a145616e7337378ab2d.zip
Convert to spaces
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/generator/yield-subtype.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/generator/yield-subtype.rs b/src/test/run-pass/generator/yield-subtype.rs
index 268add4974b..5ff070f311e 100644
--- a/src/test/run-pass/generator/yield-subtype.rs
+++ b/src/test/run-pass/generator/yield-subtype.rs
@@ -14,10 +14,10 @@ fn bar<'a>() {
     let a: &'static str = "hi";
     let b: &'a str = a;
 
-	|| {
-		yield a;
-		yield b;
-	};
+    || {
+        yield a;
+        yield b;
+    };
 }
 
 fn main() {}
\ No newline at end of file