1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: use square brackets for generics in comments (#18943)

This commit is contained in:
Michael Charlton
2023-07-22 11:22:30 +01:00
committed by GitHub
parent dcbc9e0b9b
commit 30fc9380a1
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ pub struct PoolProcessorConfig {
// thread in the pool will run for each item.
// The callback function will receive as parameters:
// 1) the PoolProcessor instance, so it can call
// p.get_item<int>(idx) to get the actual item at index idx
// p.get_item[int](idx) to get the actual item at index idx
// 2) idx - the index of the currently processed item
// 3) task_id - the index of the worker thread in which the callback
// function is running.