diff options
Diffstat (limited to '')
-rw-r--r-- | tests/run-coverage/yield.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-coverage/yield.rs b/tests/run-coverage/yield.rs index ff7616656..361275c92 100644 --- a/tests/run-coverage/yield.rs +++ b/tests/run-coverage/yield.rs @@ -7,7 +7,7 @@ use std::pin::Pin; fn main() { let mut generator = || { yield 1; - return "foo" + return "foo"; }; match Pin::new(&mut generator).resume(()) { @@ -23,7 +23,7 @@ fn main() { yield 1; yield 2; yield 3; - return "foo" + return "foo"; }; match Pin::new(&mut generator).resume(()) { |