Skip to content

Commit

Permalink
Fix incorrect comment in generator test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink authored May 27, 2020
1 parent 2873165 commit 1ab0db1
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 1ab0db1

Please sign in to comment.