mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
f493207744
commit
9c99afe3aa
3 changed files with 5 additions and 5 deletions
|
@ -2000,7 +2000,7 @@ fn run_rustfmt(
|
|||
let workspace = CargoTargetSpec::for_file(&snap, file_id)?;
|
||||
let mut cmd = match workspace {
|
||||
Some(spec) => {
|
||||
// approach: if the command name contains a path seperator, join it with the workspace root.
|
||||
// approach: if the command name contains a path separator, join it with the workspace root.
|
||||
// however, if the path is absolute, joining will result in the absolute path being preserved.
|
||||
// as a fallback, rely on $PATH-based discovery.
|
||||
let cmd_path =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue