mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
treewide: remove get_ prefix from function names
Follow the conventions of the std library.
This commit is contained in:
parent
96736bd7ed
commit
9f8446885e
2 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ pub struct BlockType {
|
|||
pub color: BlockColor,
|
||||
}
|
||||
|
||||
pub fn get_block_types() -> HashMap<String, BlockType> {
|
||||
pub fn block_types() -> HashMap<String, BlockType> {
|
||||
block_types::BLOCK_TYPES
|
||||
.iter()
|
||||
.map(|(k, v)| (String::from(*k), *v))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue