Skip to content

Commit 5a7aca5

Browse files
somdoronCopilot
andauthored
Update raft/src/main/scala/zio/raft/HMap.scala
Co-authored-by: Copilot <[email protected]>
1 parent d8fcb18 commit 5a7aca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raft/src/main/scala/zio/raft/HMap.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ final case class HMap[M <: Tuple](private val m: TreeMap[Array[Byte], Any] =
360360
* within the same first key.
361361
*
362362
* For example, for compound keys like (namespace, userId), you can fetch all keys for a given namespace:
363-
* hmap.rangeByPrefix["users"]((namespace, "")) This will return all user records within the `namespace`, regardless
363+
* hmap.rangeByCompoundKeyPrefix["users"]((namespace, "")) This will return all user records within the `namespace`, regardless
364364
* of the second component value.
365365
*
366366
* IMPORTANT: For this method to work correctly, the `KeyLike` implementation for the compound key type must encode

0 commit comments

Comments
 (0)