Post #2463339
2026-05-07 01:48 UTC
My superpower is using rust-analyzer to color anything unsafe differently. Within an `unsafe` block, I can immediately see the specific operation that requires it and what operations are fine. It's *incredibly* useful.
#Rust #RustLang
Replies (2)
-
@chrisdenton@hachyderm.io 2026-05-07 04:04
@jhpratt@mastodon.social iirc the Linux kernel's rust code achieves the same thing manually by minimally scoping unsafe blocks.
-
@matze@mastodon.social 2026-05-07 12:44
@jhpratt@mastodon.social do you have some more details? It sounds intriguing.