patch_sync: Clean up clippy lints Fixes all the latest clippy lints in patch_sync. This CL should provide no functional changes if implemented correctly. Most of these changes are moving values into AsRef generic parameters, rather than passing as a ref. BUG=b:333741962 TEST=cargo clippy; cargo test Change-Id: I232a21008ca2bbe7c85a6f4b01b3267c0aab47fc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5443986 Tested-by: Jordan Abrahams-Whitehead <[email protected]> Reviewed-by: George Burgess <[email protected]> Commit-Queue: Jordan Abrahams-Whitehead <[email protected]>
toolchain-utilsVarious utilities used by the ChromeOS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help, or refer to the header of the script for more information.