Skip to content

Commit 3c93370

Browse files
committed
Fix docs for 'db.get_partition_idx()' usage
1 parent a64cf9a commit 3c93370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Then, in the target functions we can reuse it like following:
325325
```
326326
pub async fn insert(db, i) {
327327
let idx = i % ROW_COUNT + OFFSET;
328-
let partition_idx = db.get_partition_idx("foo", idx).await? + OFFSET;
328+
let partition_idx = db.get_partition_idx("foo", idx).await + OFFSET;
329329
...
330330
}
331331
```

0 commit comments

Comments
 (0)