Fix xcrate generator test
This commit is contained in:
parent
2e3eaca0fa
commit
2b04afba63
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ fn main() {
|
|||
let mut foo = xcrate::bar(3);
|
||||
|
||||
match foo.resume() {
|
||||
GeneratorState::Yielded(4) => {}
|
||||
GeneratorState::Yielded(3) => {}
|
||||
s => panic!("bad state: {:?}", s),
|
||||
}
|
||||
match foo.resume() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue