summaryrefslogtreecommitdiffhomepage
path: root/opengl.html.markdown
diff options
context:
space:
mode:
authorpolazarus <polazarus@users.noreply.github.com>2020-02-12 21:18:41 +0100
committerGitHub <noreply@github.com>2020-02-12 21:18:41 +0100
commit33921c9e6c30e07bbc1a6187ac364429a84d04bf (patch)
treebee2f9373aa68883c110034877a5859625ee41b4 /opengl.html.markdown
parent76db052c9e3324295a94d67b26da50681307db0a (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 'opengl.html.markdown')
0 files changed, 0 insertions, 0 deletions