diff options
author | Aleksey Kladov <[email protected]> | 2020-08-12 15:52:28 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-12 15:52:28 +0100 |
commit | 8d34262956059aca7e6fded351a9299b3581a5cf (patch) | |
tree | d61e655acf03a8116f67f5a65bae4db15d0661df /crates/rust-analyzer/src | |
parent | 550d7fbe3cbf2af4a47fca6c9bbefaf798cd7b7b (diff) |
Rename ra_toolchain -> toolchain
Diffstat (limited to 'crates/rust-analyzer/src')
-rw-r--r-- | crates/rust-analyzer/src/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs index d9b75eed4..07f4af3d3 100644 --- a/crates/rust-analyzer/src/handlers.rs +++ b/crates/rust-analyzer/src/handlers.rs | |||
@@ -692,7 +692,7 @@ pub(crate) fn handle_formatting( | |||
692 | 692 | ||
693 | let mut rustfmt = match &snap.config.rustfmt { | 693 | let mut rustfmt = match &snap.config.rustfmt { |
694 | RustfmtConfig::Rustfmt { extra_args } => { | 694 | RustfmtConfig::Rustfmt { extra_args } => { |
695 | let mut cmd = process::Command::new(ra_toolchain::rustfmt()); | 695 | let mut cmd = process::Command::new(toolchain::rustfmt()); |
696 | cmd.args(extra_args); | 696 | cmd.args(extra_args); |
697 | if let Some(&crate_id) = crate_ids.first() { | 697 | if let Some(&crate_id) = crate_ids.first() { |
698 | // Assume all crates are in the same edition | 698 | // Assume all crates are in the same edition |