[<<][rust][>>][..]
Sat Mar 9 11:35:32 EST 2019

unwrap ?

Sometimes a little convoluted..

use .as_ref() .map and ?

    let ts = slice[i_first].as_ref().map(|s| s.timestamp())?;


EDIT: See next post




[Reply][About]
[<<][rust][>>][..]