mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Verified ConstArg example, waiting for response on what =
sign pertains to
This commit is contained in:
parent
f6fd4c4a74
commit
71f2be968b
2 changed files with 4 additions and 5 deletions
|
@ -2446,7 +2446,7 @@ impl LifetimeArg {
|
|||
/// Constant value argument that is passed at generic instantiation site.
|
||||
///
|
||||
/// ```
|
||||
/// foo::<❰ u32 ❱, ❰ true ❱>();
|
||||
/// foo::<u32, ❰ { true } ❱>();
|
||||
///
|
||||
/// bar::<❰ { 2 + 2} ❱>();
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue