You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This takes self by value because for a oneshot port, it has to consume the endpoint. But for a stream port, you might not be allowed to have it by value at all, but still expect to be able to select on it. It would be nice to have:
Use .cargo/config.toml instead of .cargo/config
`.cargo/config.toml` is the preferred form for the local configuration file. This is emphasized in _The Cargo Book_ with the following note:
> Note: Cargo also reads config files without the `.toml` extension, such as `.cargo/config`. Support for the `.toml` extension was added in version 1.39 and is the preferred form.
Moreover, this helps with toml-aware text editors as they will recognize the file extension.
changelog: none
I have no idea if this is theoretically easy or impossible or what. But consider this trait from my design for select:
This takes self by value because for a oneshot port, it has to consume the endpoint. But for a stream port, you might not be allowed to have it by value at all, but still expect to be able to select on it. It would be nice to have:
and then:
The text was updated successfully, but these errors were encountered: