Closed JelteF closed 4 months ago
Resolves #364
In debug builds overflows cause panics. With our derives it's hard to spot where these panics happen when RUST_BACKTRACE is not set.
This fixes that by marking our trait methods for Add/Mul(Assign) as `#[track_caller].
~- [ ] Documentation is updated (if required)~ ~- [ ] Tests are added/updated (if required)~
Resolves #364
Synopsis
In debug builds overflows cause panics. With our derives it's hard to spot where these panics happen when RUST_BACKTRACE is not set.
Solution
This fixes that by marking our trait methods for Add/Mul(Assign) as `#[track_caller].
Checklist
~- [ ] Documentation is updated (if required)~ ~- [ ] Tests are added/updated (if required)~