Rename tool_run to run_tool for consistency (#4628)

This commit is contained in:
Zanie Blue 2024-06-28 13:10:55 -04:00 committed by GitHub
parent 796171e1e6
commit f15cd5c11d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ pub(crate) use project::sync::sync;
#[cfg(feature = "self-update")] #[cfg(feature = "self-update")]
pub(crate) use self_update::self_update; pub(crate) use self_update::self_update;
pub(crate) use tool::install::install as tool_install; pub(crate) use tool::install::install as tool_install;
pub(crate) use tool::run::run as run_tool; pub(crate) use tool::run::run as tool_run;
pub(crate) use toolchain::find::find as toolchain_find; pub(crate) use toolchain::find::find as toolchain_find;
pub(crate) use toolchain::install::install as toolchain_install; pub(crate) use toolchain::install::install as toolchain_install;
pub(crate) use toolchain::list::list as toolchain_list; pub(crate) use toolchain::list::list as toolchain_list;

View file

@ -786,7 +786,7 @@ async fn run() -> Result<ExitStatus> {
// Initialize the cache. // Initialize the cache.
let cache = cache.init()?.with_refresh(args.refresh); let cache = cache.init()?.with_refresh(args.refresh);
commands::run_tool( commands::tool_run(
args.command, args.command,
args.python, args.python,
args.from, args.from,