-
Daniel García Moreno authored
I've replaced the 4 deep if-let using the Option and_then and map methods. The last map method transform the ptr to an Option<bool> type, to be able to use the ? operator inside this closure.
03b3366d
I've replaced the 4 deep if-let using the Option and_then and map methods. The last map method transform the ptr to an Option<bool> type, to be able to use the ? operator inside this closure.