Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
runiq
1y ago
0 comments
Share
If you think of it as 'a implements b', it makes sense for both lifetimes and (other) subtypes: If lifetime `a` implements `b`, it is obviously valid for `b` (and maybe longer).
undefined | Better HN
0 comments
default
newest
oldest
LoganDark
1y ago
I always do `<T, U extends T, V extends U>` etc for generics, but for lifetimes it's `<'a: 'b, 'b: 'c, 'c>` which
always
trips me up...
j
/
k
navigate · click thread line to collapse