Re:Zero-cost futures in Rust
by kibwen on Thursday August 11, 2016 @12:25PM
(#12269543)
It's an upcoming feature, AFAIK the syntax is still being decided upon. What it means is that the `get_row` function returns some type that implements the `Future` trait, but we refrain from saying exactly which type that is. This is useful for various reasons, and in this case it's probably just being used because typing out the concrete type for some of these deeply-nested and combined types quickly starts to resemble C++ template hell.
[ Parent
| on HN ]
There are no comments on this comment yet.