From 1ab0db1272671a83ef3e27cdb88780f9dd6b2345 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 27 May 2020 21:38:38 +0200 Subject: [PATCH] Fix incorrect comment in generator test --- src/test/ui/generator/resume-arg-size.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/generator/resume-arg-size.rs b/src/test/ui/generator/resume-arg-size.rs index 4f08ac0702bdb..b93dc54f7a97d 100644 --- a/src/test/ui/generator/resume-arg-size.rs +++ b/src/test/ui/generator/resume-arg-size.rs @@ -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); }