Skip to content

Book chapter 1.2 futures::future::Future description #103

Open
@MajorBreakfast

Description

@MajorBreakfast

First, thanks a lot for this great library and it's accompanying documentation!

This description of std::future::Future form the book sounds not quite correct:

In some sense, the std::future::Future can be seen as a minimal subset of futures::future::Future

https://book.async.rs/overview/std-and-library-futures.html

Actually both traits are the same. It's just a reexport:

https://github.com/rust-lang-nursery/futures-rs/blob/cde791c00b8b9c4fd14a594855038a1bc4b6323e/futures-core/src/future/mod.rs#L7

Activity

skade

skade commented on Aug 26, 2019

@skade
Collaborator

Yep, that should be changed. Futures provides a much richer interface, but as a library.

added
acceptedAccepted changes and pull requests that can be implemented or merged
on Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAccepted changes and pull requests that can be implemented or mergeddocumentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @skade@MajorBreakfast

      Issue actions

        Book chapter 1.2 futures::future::Future description · Issue #103 · async-rs/async-std