Rollup merge of #72670 - rust-lang:jonas-schievink-patch-1, r=nikomatsakis
Fix incorrect comment in generator test https://github.com/rust-lang/rust/pull/69837#discussion_r431141825 (thanks for the catch, @jplatte)
This commit is contained in:
commit
0204fc38d2
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user