From f430fca73a94dfcfff146dac8ea8833615fc537e Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 8 Dec 2019 18:09:36 -0800 Subject: [PATCH] corrected comment to reflect that 'SnowWhite lives longer than 'kiss in E0478 --- src/librustc_error_codes/error_codes/E0478.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_error_codes/error_codes/E0478.md b/src/librustc_error_codes/error_codes/E0478.md index 6634d9b6e63b..ad20e77ea9ba 100644 --- a/src/librustc_error_codes/error_codes/E0478.md +++ b/src/librustc_error_codes/error_codes/E0478.md @@ -21,8 +21,8 @@ this issue, you need to specify it: ``` trait Wedding<'t>: 't { } -struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'kiss must live - // longer than 'SnowWhite. +struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite must live + // longer than 'kiss. child: Box + 'SnowWhite>, // And now it's all good! } ```