≈ the.bay.news

Assert_safe alias for: if (std.debug.runtime_safety)

Ziggit
Assert_safe alias for: if (std.debug.runtime_safety)
I would find it very useful. Rather than writing if (std.debug.runtime_safety) assert(g < self.first_rows.len()); I would like to write assert_safe(g < self.first_rows.len()); code is cleaner, easier to read. I am on 0.17.0

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.