Ben Chuanlong Du's Blog

It is never too late to learn.

Option vs Result in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. Prefer Option<&T> to &Option<T> as data APIs. for more discussions, please refer to Choose the Right Option .
In [ ]:
:timing
:sccache 1
In [ ]:

Comments