Skip to content

Code action inline_bounds (the opposite of move_bounds_to_where_clause) #14907

@Logarithmus

Description

@Logarithmus

I'd like to easily convert this

pub fn serialize<S>(num: u32, serializer: S) -> Result<S::Ok, S::Error>
where
    S: Serializer,
{
    Ok(())
}

to this

pub fn serialize<S: Serializer>(num: u32, serializer: S) -> Result<S::Ok, S::Error> {
    Ok(())
}

basically the opposite of move_bounds_to_where_clause

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions