sapling/eden/scm/lib/manifest-tree
Xavier Deguillard bb30c40375 types: address clippy warnings
Summary:
Clippy had 3 sources of warnings in this crate:
 - from_str method not in impl FromStr. We still have 2 of them in path.rs, but
   this is documented as not supported by the FromStr trait due to returning a
   reference. Maybe we can find a different name?
 - Use of mem::transmute while casts are sufficient. I find the cast to be
   ugly, but they are simply safer as the compiler can do some type checking on
   them.
 - Unecessary lifetime parameters

Reviewed By: quark-zju

Differential Revision: D20452257

fbshipit-source-id: 94abd8d8cd76ff7af5e0bbfc97c1e106cdd142b0
2020-03-16 14:58:21 -07:00
..
benches types: add helper method for generating repo paths in testutil 2020-01-10 11:12:41 -08:00
src types: address clippy warnings 2020-03-16 14:58:21 -07:00
Cargo.toml convert to bytes 0.5 2020-02-24 10:28:46 -08:00