Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ChAoSUnItY/vaker
Browse files Browse the repository at this point in the history
  • Loading branch information
ChAoSUnItY committed Nov 27, 2022
2 parents b4479ce + 62b413b commit 23f579e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vaker/vaker.v
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ pub fn fake_data[T](t &T) {
[inline]
pub fn fake_data_wdf[T](t &T, df &DataFaker) {
$if T is $Array {
unsafe {
for i in 0 .. t.len {
fake_data_wdf(&t[i], df)
}
for i in 0 .. t.len {
fake_data_wdf(&t[i], df)
}
} $else $if T is $Map {
fake_map(t, df)
Expand Down

0 comments on commit 23f579e

Please sign in to comment.