Skip to content

Commit 2183a94

Browse files
authored
Update E0478.md
1 parent f430fca commit 2183a94

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 'SnowWhite must live
25-
// longer than 'kiss.
24+
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite
25+
// must live longer than 'kiss.
2626
child: Box<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
2727
}
2828
```

0 commit comments

Comments
 (0)