This fascinating snippet of Rust does some tricky work with no allocations or copying, type- and memory-safely: https://gist.github.com/Aatch/5734372
@andy_matuschak got it, thank you. Out of curiosity: does the compiler have special knowledge of Option, or is it library code?
-
-
@avibryant No, it’s library code. Nothing special. https://github.com/mozilla/rust/blob/master/src/libcore/option.rs …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.