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

Remove get_ prefixes from getters #34

Open
virtualritz opened this issue Sep 22, 2024 · 0 comments
Open

Remove get_ prefixes from getters #34

virtualritz opened this issue Sep 22, 2024 · 0 comments

Comments

@virtualritz
Copy link

See "Getter names follow Rust convention (C-GETTER)" in the official Rust API Guidelines on naming.

Specifically:

egui_snarl::Snarl::get_node
egui_snarl::Snarl::get_node_mut
egui_snarl::Snarl::get_node_info
egui_snarl::Snarl::get_node_info_mut

should be:

egui_snarl::Snarl::node
egui_snarl::Snarl::node_mut
egui_snarl::Snarl::node_info
egui_snarl::Snarl::node_info_mut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant