about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2019-12-09 12:17:38 +0100
committerGitHub <noreply@github.com>2019-12-09 12:17:38 +0100
commit2183a949a8293eb328259374653e76199494b0ea (patch)
treea4e28d831c45d8898af68c51d8886bac661429a0
parentf430fca73a94dfcfff146dac8ea8833615fc537e (diff)
downloadrust-2183a949a8293eb328259374653e76199494b0ea.tar.gz
rust-2183a949a8293eb328259374653e76199494b0ea.zip
Update E0478.md
-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 ad20e77ea9b..4bc5fde2e89 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 'SnowWhite must live
-                                          // longer than 'kiss.
+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!
 }
 ```