mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
bb30c40375
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |