summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
diff options
context:
space:
mode:
authorHiPhish <hiphish@posteo.de>2023-04-09 20:00:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2023-04-11 17:10:01 +0300
commit439a61affab391d44341ac3113592698abd4143b (patch)
tree6fd31f98446f2aaf7d4f7062f102abbf23f021fb /mesonbuild/compilers/rust.py
parenta912193fd8ed5e673009e879c088aa70b297811a (diff)
downloadmeson-439a61affab391d44341ac3113592698abd4143b.tar.gz
Change "can not" to "cannot" throughout project
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
Diffstat (limited to 'mesonbuild/compilers/rust.py')
-rw-r--r--mesonbuild/compilers/rust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py
index 9e5ebc894..2d158e30b 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -87,7 +87,7 @@ class RustCompiler(Compiler):
stdo = _stdo.decode('utf-8', errors='replace')
stde = _stde.decode('utf-8', errors='replace')
if pc.returncode != 0:
- raise EnvironmentException('Rust compiler {} can not compile programs.\n{}\n{}'.format(
+ raise EnvironmentException('Rust compiler {} cannot compile programs.\n{}\n{}'.format(
self.name_string(),
stdo,
stde))