Skip to content

Version two + hard_tabs adds indent on long generic types #5917

Open
@Ten0

Description

@Ten0

With version=Two

fn foo(
	bar: Box<
		dyn Trait<
			'static,
			aaaaaaaaaaaaaaaaaaa::table,
			bbbbbbbbbbbbbbbbbbb::table,
			diesel::pg::Pg,
			SqlType = sql_types::Nullable<sql_types::Integer>,
		>,
	>,
) {
}

gets reformatted as:

fn foo(
	bar: Box<
		dyn Trait<
				'static,
				aaaaaaaaaaaaaaaaaaa::table,
				bbbbbbbbbbbbbbbbbbb::table,
				diesel::pg::Pg,
				SqlType = sql_types::Nullable<sql_types::Integer>,
			>,
	>,
) {
}

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