Skip to content

Documentation for write_i8 in async_write_ext.rs should use signed integers  #5039

Closed
@grydholt

Description

@grydholt

Version
tokio v1.21.1

The documentation for write_i8 in io/util/async_write_ext.rs states

           /// Writes an unsigned 8-bit integer to the underlying writer.

This seems to be a copy-paste error from write_u8. The code example also uses write_u8 instead of write_i8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokioArea: The main tokio crateC-bugCategory: This is a bug.M-ioModule: tokio/ioT-docsTopic: documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions