Skip to content

Wrong indentation around trait bounds for output parameters. #379

Open
@mookid

Description

@mookid

See #306.

Minimal reproduction:

pub fn f<Req, Resp>() -> MR<
    impl FnMut(ServiceResponse) -> Resp,
>
where
    Req: Send,
    Resp: Send,
{
}

get reindented to

pub fn f<Req, Resp>() -> MR<
    impl FnMut(ServiceResponse) -> Resp,
    >
where
    Req: Send,
Resp: Send,
{
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions