Commit graph

2 commits

Author SHA1 Message Date
Icxolu
220a9db642 fixed span and corrected test output 2023-05-01 20:12:34 +02:00
Icxolu
9428138562 adds lint to detect construction of unit struct using default
Using `default` to construct a unit struct increases code complexity and
adds a function call. This can be avoided by simply removing the call to
`default` and simply construct by name.
2023-04-26 21:12:59 +02:00