Skip to content

Commit

Permalink
Update E0478.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-DPC authored Dec 9, 2019
1 parent f430fca commit 2183a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0478.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
}
```

0 comments on commit 2183a94

Please sign in to comment.