Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make String/str, Vec/[] conversions more ergonomic #14983

Copy link
Copy link
@brson

Description

@brson
Issue body actions

There's a lot of code right now that does things like frob(&"foo".to_string()).as_slice(), using method calls to do both 'free' and non-free coercions. While the underlying string semantics may be good, it's not so usable as one might like.

We need to figure out a way to minimize the burden of these, and other, coercion methods without compromising predictability.

Nominating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.