Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_move suffix? #37

Closed
dtolnay opened this issue Apr 27, 2017 · 1 comment
Closed

_move suffix? #37

dtolnay opened this issue Apr 27, 2017 · 1 comment

Comments

@dtolnay
Copy link
Member

dtolnay commented Apr 27, 2017

If foo uses/produces an immutable borrow by default, use:

  • The _mut suffix (e.g. foo_mut) for the mutably borrowed variant.
  • The _move suffix (e.g. foo_move) for the owned variant.

Is _move this still encouraged? What is a good example from the standard library?

@brson
Copy link
Contributor

brson commented Jun 30, 2017

Remove from guidleines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants