mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
82ab81238d
Summary: I had enough seeing compiler giving me error messages with `blobrepo::Error` whereas it should be `failure::Error`. `pub type` is exporting a type alias whereas `pub use` is re-exporting. The later apparently will fool the compiler to think that they own the thing they are re-exporting which in this case, failure::Error. If it is for the purpose of declaring the error type the crate is using, type alias is obviously more suitable as it won't take the ownership of the type. Reviewed By: lukaspiatkowski Differential Revision: D8926275 fbshipit-source-id: 6b1346adf52bec6b666a3f8b23e7a4ea4e0ab070 |
||
---|---|---|
.. | ||
delayblob/src | ||
fileblob/src | ||
if | ||
rocksblob/src | ||
src | ||
test | ||
Cargo.toml |