Skip to content

Float::ldexp should use the same format as everything else #22098

Closed
@mdinger

Description

@mdinger

std::num::Float::ldexp has an unusual format: it takes x: Self as it's first parameter where everything else in the trait takes self. It should take self as it's first parameter for consistency with everything else.

It is located in std::num::mod

Metadata

Metadata

Assignees

Labels

E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions