Skip to content

runtime: two implementations of hasprefix #25688

@ghost

Description

runtime defines hasprefix(string, string) bool in string.go and hasPrefix(string, string) bool in type.go. They have identical implementations.

I do not know how they are used, but I imagine that either (a) one should be removed in favour of the other, or (b) document why both need to exist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions