diff options
author | polazarus <polazarus@users.noreply.github.com> | 2020-02-12 21:18:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 21:18:41 +0100 |
commit | 33921c9e6c30e07bbc1a6187ac364429a84d04bf (patch) | |
tree | bee2f9373aa68883c110034877a5859625ee41b4 /forth.html.markdown | |
parent | 76db052c9e3324295a94d67b26da50681307db0a (diff) |
[Rust] Change misleading method and add two other methods
The `get_bar` method consumes `self`. The name is misleading and does not respect the language naming convention.
This PR renames it to `into_bar` and provides `bar` (a getter) and `bar_mut` (to get a mutable reference).
Diffstat (limited to 'forth.html.markdown')
0 files changed, 0 insertions, 0 deletions