Skip to content

Clean up to_owned()s #1247

Open
Open
@ethowitz

Description

@ethowitz

We call to_owned() in many places throughout the code. We could move these calls to more centralized locations by having functions and methods take Into<String> instead of String directly. Then, we'd be able to call to_owned() just once in the function/method body instead of every time it's called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3Estimate - m - This is a small change, but there's some uncertainty.cleanup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions