From 61643ae2d210f1882cb91e41304193937ea2c052 Mon Sep 17 00:00:00 2001 From: Ulrich Hornung Date: Sun, 14 Jan 2024 14:03:56 +0100 Subject: [PATCH] spell checker --- .vscode/cspell.dictionaries/shell.wordlist.txt | 1 + src/uu/env/src/raw_string_parser.rs | 1 + src/uu/env/src/split_iterator.rs | 1 + tests/by-util/test_env.rs | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/cspell.dictionaries/shell.wordlist.txt b/.vscode/cspell.dictionaries/shell.wordlist.txt index 95dea94a7cd..11ce341addf 100644 --- a/.vscode/cspell.dictionaries/shell.wordlist.txt +++ b/.vscode/cspell.dictionaries/shell.wordlist.txt @@ -25,6 +25,7 @@ sudoedit tcsh tzselect urandom +VARNAME wtmp zsh diff --git a/src/uu/env/src/raw_string_parser.rs b/src/uu/env/src/raw_string_parser.rs index 4a6baa4bc5a..5ff3b6d8fa2 100644 --- a/src/uu/env/src/raw_string_parser.rs +++ b/src/uu/env/src/raw_string_parser.rs @@ -16,6 +16,7 @@ //! on std library functionality when dealing with multi-byte characters. //! //! The general idea of this module is to encapsulate the unsafe parts in a small and easily testable unit. +// spell-checker:ignore (words) splitted #![allow(unsafe_code)] use std::mem; diff --git a/src/uu/env/src/split_iterator.rs b/src/uu/env/src/split_iterator.rs index e0c8fc07f91..df9c81de52b 100644 --- a/src/uu/env/src/split_iterator.rs +++ b/src/uu/env/src/split_iterator.rs @@ -14,6 +14,7 @@ //! Apart from the grammar differences, there is a new feature integrated: $VARIABLE expansion. //! //! [GNU env] +// spell-checker:ignore (words) Tomasz Miąsko rntfv FFFD varname #![forbid(unsafe_code)] diff --git a/tests/by-util/test_env.rs b/tests/by-util/test_env.rs index e3f8e4c5bd7..198ae3d520f 100644 --- a/tests/by-util/test_env.rs +++ b/tests/by-util/test_env.rs @@ -2,7 +2,7 @@ // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. -// spell-checker:ignore (words) bamf chdir rlimit prlimit COMSPEC +// spell-checker:ignore (words) bamf chdir rlimit prlimit COMSPEC cout cerr #[cfg(any(target_os = "linux", target_os = "android"))] use crate::common::util::expected_result;