diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2019-12-09 12:17:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-09 12:17:38 +0100 |
| commit | 2183a949a8293eb328259374653e76199494b0ea (patch) | |
| tree | a4e28d831c45d8898af68c51d8886bac661429a0 | |
| parent | f430fca73a94dfcfff146dac8ea8833615fc537e (diff) | |
| download | rust-2183a949a8293eb328259374653e76199494b0ea.tar.gz rust-2183a949a8293eb328259374653e76199494b0ea.zip | |
Update E0478.md
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0478.md | 4 |
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! } ``` |
