Add example with const in TypeBound as per flodiebold

This commit is contained in:
veetaha 2020-05-10 19:24:06 +03:00
parent 5707c2d7a6
commit eedf11ae88
2 changed files with 3 additions and 5 deletions

View file

@ -1971,7 +1971,7 @@ impl LifetimeParam {
/// where
/// T: ❰ Send ❱ + ❰ Sync ❱
/// {
/// type Baz: ❰ !Sync ❱ + ❰ Debug ❱;
/// type Baz: ❰ !Sync ❱ + ❰ Debug ❱ + ❰ ?const Add ❱;
/// }
/// ```
///