Skip to content

Commit f430fca

Browse files
committed
corrected comment to reflect that 'SnowWhite lives longer than 'kiss in E0478
1 parent 14195e1 commit f430fca

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0478.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ this issue, you need to specify it:
2121
```
2222
trait Wedding<'t>: 't { }
2323
24-
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'kiss must live
25-
// longer than 'SnowWhite.
24+
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite must live
25+
// longer than 'kiss.
2626
child: Box<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
2727
}
2828
```

0 commit comments

Comments
 (0)