Settings

Theme

Bringing runtime checks to compile time in Rust

ktkaufman03.github.io

4 points by ktkaufman 3 years ago · 1 comment

Reader

ktkaufmanOP 3 years ago

I was annoyed by having to write the same boilerplate code over and over again to handle "failures" that would never actually occur, so I took matters into my own hands and came up with what I think is a pretty elegant (if slightly complicated) solution. As it turns out, the architecture of this solution can be applied to other issues!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection