Skip to content

Commit 0204fc3

Browse files
authored
Rollup merge of rust-lang#72670 - rust-lang:jonas-schievink-patch-1, r=nikomatsakis
Fix incorrect comment in generator test rust-lang#69837 (comment) (thanks for the catch, @jplatte)
2 parents 733bee5 + 1ab0db1 commit 0204fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/generator/resume-arg-size.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn main() {
2222
};
2323

2424
// 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)
25+
// 1 Byte in size (only storing the discriminant)
2626
assert_eq!(size_of_val(&gen_copy), 1);
2727
assert_eq!(size_of_val(&gen_move), 1);
2828
}

0 commit comments

Comments
 (0)