Skip to content

Commit 1ab0db1

Browse files
Fix incorrect comment in generator test
1 parent 2873165 commit 1ab0db1

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)