⚑| Koh Tao πŸ‡ΉπŸ‡­ πŸŒŠπŸ§—β€β™‚οΈ (@thlorenz) 's Twitter Profile
⚑| Koh Tao πŸ‡ΉπŸ‡­ πŸŒŠπŸ§—β€β™‚οΈ

@thlorenz

Building at @magicblock. Creator of luzid.app.

ID: 174726123

linkhttps://github.com/thlorenz calendar_today04-08-2010 17:29:29

8,8K Tweet

3,3K Followers

208 Following

⚑| Koh Tao πŸ‡ΉπŸ‡­ πŸŒŠπŸ§—β€β™‚οΈ (@thlorenz) 's Twitter Profile Photo

TIL: if you write #rust test helpers which include asserts then it is better to write them as a macro instead of a function. That way the assertion error points you to the relevant test code instead of your helper function and you don't have to use RUST_BACKTRACE.

TIL: if you write #rust test helpers which include asserts then it is better to write them as a macro instead of a function.
That way the assertion error points you to the relevant test code instead of your helper function and you don't have to use RUST_BACKTRACE.