-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust-remove: simplify remove_path_from_directory_map
Summary: Deeply nested code is hard for reading. This diff aims to simplify the function `remove_path_from_directory_map` to use `anyhow::Context` to handle the error messages so the code can be cleaner. Reviewed By: muirdm Differential Revision: D65553183 fbshipit-source-id: 33cb1b2d1ad76cf9cda57624f0af6833c908aafb
- Loading branch information
1 parent
6c098c5
commit 31c0099
Showing
3 changed files
with
41 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters