forked from Baguette/dodb.cr
Typo in a comment, duh
parent
5ecb94f74a
commit
b413570d61
|
@ -87,7 +87,7 @@ class DODB::Index(V) < DODB::Indexer(V)
|
||||||
{value, key}
|
{value, key}
|
||||||
end
|
end
|
||||||
|
|
||||||
# in case new_value hasn't change its index
|
# in case new_value hasn't changed its index
|
||||||
def update(new_value : V)
|
def update(new_value : V)
|
||||||
index = key_proc.call new_value
|
index = key_proc.call new_value
|
||||||
update index, new_value
|
update index, new_value
|
||||||
|
|
Loading…
Reference in New Issue