mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: replace generic <>
with []
- part 2 (#16536)
This commit is contained in:
parent
b19b97e7b1
commit
ef5be22f81
297 changed files with 1959 additions and 1943 deletions
|
@ -11,7 +11,7 @@ struct Story {
|
|||
}
|
||||
|
||||
fn worker_fetch(mut p pool.PoolProcessor, cursor int, worker_id int) voidptr {
|
||||
id := p.get_item<int>(cursor)
|
||||
id := p.get_item[int](cursor)
|
||||
resp := http.get('https://hacker-news.firebaseio.com/v0/item/${id}.json') or {
|
||||
println('failed to fetch data from /v0/item/${id}.json')
|
||||
return pool.no_result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue