diff options
Diffstat (limited to 'ale_linters/rust/rustc.vim')
-rw-r--r-- | ale_linters/rust/rustc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/rust/rustc.vim b/ale_linters/rust/rustc.vim index 73c99cd9..e792faa7 100644 --- a/ale_linters/rust/rustc.vim +++ b/ale_linters/rust/rustc.vim @@ -7,7 +7,7 @@ function! ale_linters#rust#rustc#RustcCommand(buffer_number) abort " <project root>/target/release/deps/ let l:cargo_file = ale#path#FindNearestFile(a:buffer_number, 'Cargo.toml') - if l:cargo_file !=# '' + if l:cargo_file isnot# '' let l:project_root = fnamemodify(l:cargo_file, ':h') let l:dependencies = '-L ' . l:project_root . '/target/debug/deps -L ' . \ l:project_root . '/target/release/deps' |