diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2023-04-11 16:04:17 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-04-11 19:21:05 -0400 |
commit | cf9fd56bc905a2022ad48c93d25b5a73b57c8802 (patch) | |
tree | a6858f0e790f801f49d8d4f161e9183deaf90e20 /test cases/rust | |
parent | e238b81ba0b89faa19b512d1e78de00dad1488ce (diff) | |
download | meson-cf9fd56bc905a2022ad48c93d25b5a73b57c8802.zip meson-cf9fd56bc905a2022ad48c93d25b5a73b57c8802.tar.gz meson-cf9fd56bc905a2022ad48c93d25b5a73b57c8802.tar.bz2 |
fix various spelling issues
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to 'test cases/rust')
-rw-r--r-- | test cases/rust/19 structured sources/meson.build | 2 | ||||
-rw-r--r-- | test cases/rust/9 unit tests/test2.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test cases/rust/19 structured sources/meson.build b/test cases/rust/19 structured sources/meson.build index d84e83f..d5b3909 100644 --- a/test cases/rust/19 structured sources/meson.build +++ b/test cases/rust/19 structured sources/meson.build @@ -27,7 +27,7 @@ target = executable( ), ) -# Should not be coppied +# Should not be copied executable( 'no_copy_target', structured_sources( diff --git a/test cases/rust/9 unit tests/test2.rs b/test cases/rust/9 unit tests/test2.rs index 9623c7c..e068605 100644 --- a/test cases/rust/9 unit tests/test2.rs +++ b/test cases/rust/9 unit tests/test2.rs @@ -3,8 +3,8 @@ use std::env; fn main() { let args: Vec<String> = env::args().collect(); - let first = args[1].parse::<i32>().expect("Invliad value for first argument."); - let second = args[2].parse::<i32>().expect("Invliad value for second argument."); + let first = args[1].parse::<i32>().expect("Invalid value for first argument."); + let second = args[2].parse::<i32>().expect("Invalid value for second argument."); let new = test::add(first, second); println!("New value: {}", new); |