minus-squaremadmo@programming.devtoRust Programming@lemmy.ml•Flux - fast app launcher for Linux (0.1-0.2s launch, ~35MB RAM)linkfedilinkarrow-up5·12 hours agoNice project, I really like the minimal design! I also experienced a panic on image load. My rule of thumb for error handling: try to avoid unwrap. Use expect with a nice error message. And only use expect for stuff that should never fail. And bubbling up the errors to the top with ? is also useful. linkfedilink
Nice project, I really like the minimal design!
I also experienced a panic on image load.
My rule of thumb for error handling: try to avoid unwrap. Use expect with a nice error message. And only use expect for stuff that should never fail. And bubbling up the errors to the top with
?is also useful.