sapling/lib/revisionstore
Durham Goode 2b272f7bbc revisionstore: use ok_or_else instead of ok_or
Summary:
When reading entries, we were using ok_or to read a slice and catch
errors, but this causes an unnecessary allocation for the error even if we don't
have an error. Let's use ok_or_else to avoid that.

Reviewed By: quark-zju

Differential Revision: D8897109

fbshipit-source-id: d308f64d54a58077d9ec2eb34dd1bef431ac1819
2018-07-26 12:17:20 -07:00
..
src revisionstore: use ok_or_else instead of ok_or 2018-07-26 12:17:20 -07:00
Cargo.toml buck: add buck target files 2018-07-24 16:05:26 -07:00