A4-Tacks
d0b95bd67f
Fix empty generic param list for generate_function
Example
---
```rust
struct Foo<S>(S);
impl<S> Foo<S> {
fn foo(&self) {
self.bar()$0;
}
}
```
**Before this PR**:
```rust
struct Foo<S>(S);
impl<S> Foo<S> {
fn foo(&self) {
self.bar();
}
fn bar<>(&self) ${0:-> _} {
todo!()
}
}
```
**After this PR**:
```rust
struct Foo<S>(S);
impl<S> Foo<S> {
fn foo(&self) {
self.bar();
}
fn bar(&self) ${0:-> _} {
todo!()
}
}
```
2025-09-11 10:23:02 +08:00
..
2025-08-25 17:17:31 +03:00
2025-07-31 10:55:10 +02:00
2025-09-10 01:43:22 +09:00
2025-09-08 15:56:56 +01:00
2025-08-02 21:39:22 +03:00
2025-09-10 01:43:22 +09:00
2025-09-09 17:16:50 +00:00
2025-09-11 10:23:02 +08:00
2025-09-10 01:43:22 +09:00
2025-09-08 20:12:04 +00:00
2025-09-09 18:49:52 +00:00
2025-09-10 01:43:22 +09:00
2025-08-09 16:08:58 +00:00
2025-07-31 10:55:10 +02:00
2025-07-31 10:55:10 +02:00
2025-08-18 09:52:23 +02:00
2025-07-31 10:10:50 +02:00
2025-07-31 09:55:07 +02:00
2025-07-31 10:10:50 +02:00
2025-08-09 16:08:58 +00:00
2025-08-30 13:36:29 -07:00
2025-08-09 16:08:58 +00:00
2025-09-04 12:10:39 +03:00
2025-08-13 15:28:08 +08:00
2025-09-09 07:35:19 +00:00
2025-08-09 15:47:01 +08:00
2025-08-17 22:28:04 +09:00
2025-08-13 06:10:45 +00:00
2025-07-31 10:55:10 +02:00
2025-07-03 10:05:16 +02:00
2025-07-31 10:55:10 +02:00