We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4266807 commit 49aabd8Copy full SHA for 49aabd8
src/test/ui/generator/resume-arg-size.rs
@@ -23,6 +23,6 @@ fn main() {
23
24
// Neither of these generators have the resume arg live across the `yield`, so they should be
25
// 4 Bytes in size (only storing the discriminant)
26
- assert_eq!(size_of_val(&gen_copy), 4);
27
- assert_eq!(size_of_val(&gen_move), 4);
+ assert_eq!(size_of_val(&gen_copy), 1);
+ assert_eq!(size_of_val(&gen_move), 1);
28
}
0 commit comments