map: remove unused `get2()` and `get3()`
parent
02b846aa72
commit
58763ff299
|
@ -373,10 +373,6 @@ fn (mut m map) get_and_set(key string, zero voidptr) voidptr {
|
|||
m.set(key, zero)
|
||||
}
|
||||
}
|
||||
// Delete this (was used for bootstrap)
|
||||
fn (mut m map) get2(key string, zero voidptr) voidptr {
|
||||
return m.get_and_set(key, zero)
|
||||
}
|
||||
|
||||
// If `key` matches the key of an element in the container,
|
||||
// the method returns a reference to its mapped value.
|
||||
|
@ -396,10 +392,6 @@ fn (m map) get(key string, zero voidptr) voidptr {
|
|||
}
|
||||
return zero
|
||||
}
|
||||
// Delete this (was used for bootstrap)
|
||||
fn (m map) get3(key string, zero voidptr) voidptr {
|
||||
return m.get(key, zero)
|
||||
}
|
||||
|
||||
// Checks whether a particular key exists in the map.
|
||||
fn (m map) exists(key string) bool {
|
||||
|
|
Loading…
Reference in New Issue