Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: annotate io mod with doc_cfg #1808

Merged
merged 5 commits into from
Nov 22, 2019
Merged

docs: annotate io mod with doc_cfg #1808

merged 5 commits into from
Nov 22, 2019

Commits on Nov 22, 2019

  1. doc: annotate io mod with doc_cfg

    Annotates types in `tokio::io` module with their required feature flag.
    This annotation is included in generated documentation.
    
    Notes:
    
    * The annotation must be on the type or function itself. Annotating just
      the re-export is not sufficient.
    
    * The annotation must be **inside** the `pin_project!` macro or it is
      lost.
    carllerche committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    4fdc74d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1f8bd2 View commit details
    Browse the repository at this point in the history
  3. Update tokio/src/macros/cfg.rs

    Co-Authored-By: Taiki Endo <[email protected]>
    carllerche and taiki-e authored Nov 22, 2019
    Configuration menu
    Copy the full SHA
    2cc8e52 View commit details
    Browse the repository at this point in the history
  4. Update tokio/src/io/util/flush.rs

    Co-Authored-By: Taiki Endo <[email protected]>
    carllerche and taiki-e authored Nov 22, 2019
    Configuration menu
    Copy the full SHA
    2ebd7b7 View commit details
    Browse the repository at this point in the history
  5. fix read_to_end flag

    carllerche committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    906c18e View commit details
    Browse the repository at this point in the history