Hacker News new | ask | show | jobs
by pron 3816 days ago
The part you're missing is the `this` in `Extension.this`. This method is a member of Extension<T>, and it returns an Extension<S>. So `this` (of type Extension<T>) is transformed by the method to Extension<S>.
1 comments

Ah, thanks!