Skip to content

Rename Sink::SinkError to just Sink::Error #1707

@seanmonstar

Description

@seanmonstar

It was originally made SinkError so that implementations that required a generic to be both Stream and Sink could more easily distinguish error types. However, it's possible to disambiguate using <S as Sink<Item>>::Error in an impl (and even temporary generics can be used), and it otherwise reads as a stutter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions