Skip to content

Commit

Permalink
Rollup merge of #72670 - rust-lang:jonas-schievink-patch-1, r=nikomat…
Browse files Browse the repository at this point in the history
…sakis

Fix incorrect comment in generator test

#69837 (comment) (thanks for the catch, @jplatte)
  • Loading branch information
Dylan-DPC authored May 29, 2020
2 parents 733bee5 + 1ab0db1 commit 0204fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/generator/resume-arg-size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() {
};

// Neither of these generators have the resume arg live across the `yield`, so they should be
// 4 Bytes in size (only storing the discriminant)
// 1 Byte in size (only storing the discriminant)
assert_eq!(size_of_val(&gen_copy), 1);
assert_eq!(size_of_val(&gen_move), 1);
}

0 comments on commit 0204fc3

Please sign in to comment.