Skip to content

Commit

Permalink
Merge pull request #1 from cloud11665/main
Browse files Browse the repository at this point in the history
vaker.v: Remove unnecessary unasfe block
  • Loading branch information
ChAoSUnItY authored Jun 4, 2022
2 parents b528c9c + 31334e3 commit 62b413b
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 62b413b

Please sign in to comment.