Skip to content

Contains should require comparable, not constraints.Ordered #11

Closed
@Ludonope

Description

@Ludonope

As stated in the title, Contains should require the type to be comparable and not constraints.Ordered, as it add useless type limitation.

For example this function is not usable with string.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions