15 lines
232 B
Markdown
15 lines
232 B
Markdown
# Making lifetimes a parameter of a trait instead of that of the GAT
|
|
|
|
Current:
|
|
```rust
|
|
pub trait WeakFunctorAny {
|
|
type F<'a, A: 'a>: 'a
|
|
where
|
|
Self: 'a;
|
|
}
|
|
|
|
pub trait WeakFunctor<'a>: 'a {
|
|
type F<A: 'a>: 'a;
|
|
}
|
|
```
|