about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorryan <ryanswilson@protonmail.com>2019-12-08 18:09:36 -0800
committerryan <ryanswilson@protonmail.com>2019-12-08 18:09:36 -0800
commitf430fca73a94dfcfff146dac8ea8833615fc537e (patch)
treef684d424c3b435b57a62d1583678bb9e1e089cc6 /src
parent14195e1f1dc7bcc318226fe2218be09f542a72ef (diff)
downloadrust-f430fca73a94dfcfff146dac8ea8833615fc537e.tar.gz
rust-f430fca73a94dfcfff146dac8ea8833615fc537e.zip
corrected comment to reflect that 'SnowWhite lives longer than 'kiss in E0478
Diffstat (limited to 'src')
-rw-r--r--src/librustc_error_codes/error_codes/E0478.md4
1 files 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 6634d9b6e63..ad20e77ea9b 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<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
 }
 ```