mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Add example with const in TypeBound as per flodiebold
This commit is contained in:
parent
5707c2d7a6
commit
eedf11ae88
2 changed files with 3 additions and 5 deletions
|
@ -1971,7 +1971,7 @@ impl LifetimeParam {
|
|||
/// where
|
||||
/// T: ❰ Send ❱ + ❰ Sync ❱
|
||||
/// {
|
||||
/// type Baz: ❰ !Sync ❱ + ❰ Debug ❱;
|
||||
/// type Baz: ❰ !Sync ❱ + ❰ Debug ❱ + ❰ ?const Add ❱;
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue