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

all: remove intermediate handling for both global definition syntaxes (#6546)

This commit is contained in:
Henrixounez
2020-10-03 15:41:45 +02:00
committed by GitHub
parent 7e13518cc2
commit c324169af0
6 changed files with 16 additions and 37 deletions

View File

@ -12,7 +12,7 @@ pub struct PRNGConfigStruct {
seed []u32 = util.time_seed_array(2)
}
__global default_rng &wyrand.WyRandRNG
__global ( default_rng &wyrand.WyRandRNG )
fn init() {
default_rng = new_default({})
}