Emil Ernerfeldt
f8d7d0ebaa
Enforce writing username in TODO comments ( #4235 )
2024-03-26 11:48:24 +01:00
Emil Ernerfeldt
f7ec8f210d
Use runtime knowledge of OS for OS-specific text editing ( #3840 )
...
How text editing behaves depends on what OS we are running on.
`target_os` is a compile-time check, but `ctx.os()` is a runtime check,
that works also on web.
2024-01-19 13:37:10 +01:00
Emil Ernerfeldt
401de05630
Use `Self` everywhere ( #3787 )
...
This turns on the clippy lint
[`clippy::use_self`](https://rust-lang.github.io/rust-clippy/v0.0.212/index.html#use_self )
and fixes it everywhere.
2024-01-08 17:41:21 +01:00
Emil Ernerfeldt
a243180600
Add `#[inline]` to all builder-pattern functions ( #3557 )
...
Better performance and maybe code size
2023-11-16 13:50:05 +01:00
Emil Ernerfeldt
d568d9f5d0
Lint vertical spacing in the code ( #3224 )
...
* Lint vertical spacing in the code
* Add some vertical spacing for readability
2023-08-10 15:26:54 +02:00