#rustlang API poll: Suppose an API needs to take a name for something. Almost always this is a `&'static str` but rarely it can be an allocated `String`.
Internally it is being used as `Cow<'static, str>`
What would you prefer as a user for such API
#rustlang API poll: Suppose an API needs to take a name for something. Almost always this is a `&'static str` but rarely it can be an allocated `String`.
Internally it is being used as `Cow<'static, str>`
What would you prefer as a user for such API
If you have a fediverse account, you can quote this note from your own instance. Search https://functional.cafe/users/manpacket/statuses/115793580529718602 on your instance and quote it. (Note that quoting is not supported in Mastodon.)