mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Preserve order of generic args
This commit is contained in:
parent
9d473a0b9f
commit
4fa8749c44
39 changed files with 714 additions and 427 deletions
|
@ -599,6 +599,13 @@ impl Foo {
|
|||
/// let foobar = Foo::new().bar();
|
||||
/// ```
|
||||
///
|
||||
/// ```
|
||||
/// // functions
|
||||
/// fn foo<T, const X: usize>(arg: i32) {
|
||||
/// let x: T = X;
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// ```sh
|
||||
/// echo 1
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue