From 48b2be44672239794c8db1198aa94a1ace2456e8 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Thu, 3 Jul 2025 10:13:25 +0900 Subject: [PATCH 1/2] Fix cspell warning --- common/src/lock/cell_lock.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/lock/cell_lock.rs b/common/src/lock/cell_lock.rs index 1edd622a20..6905d067bb 100644 --- a/common/src/lock/cell_lock.rs +++ b/common/src/lock/cell_lock.rs @@ -1,3 +1,4 @@ +// cspell:ignore upgradably sharedly use lock_api::{ GetThreadId, RawMutex, RawRwLock, RawRwLockDowngrade, RawRwLockRecursive, RawRwLockUpgrade, RawRwLockUpgradeDowngrade, From c87fb20516957da0c75a77ca5e339f16dc86863a Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Thu, 3 Jul 2025 10:14:12 +0900 Subject: [PATCH 2/2] cspell: -> spell-checker: --- common/src/boxvec.rs | 2 +- common/src/format.rs | 2 +- common/src/linked_list.rs | 2 +- common/src/lock/cell_lock.rs | 2 +- common/src/os.rs | 2 +- common/src/str.rs | 2 +- example_projects/frozen_stdlib/src/main.rs | 2 +- jit/src/instructions.rs | 2 +- src/lib.rs | 2 +- stdlib/build.rs | 2 +- stdlib/src/compression.rs | 2 +- stdlib/src/fcntl.rs | 2 +- stdlib/src/grp.rs | 2 +- stdlib/src/json/machinery.rs | 2 +- stdlib/src/locale.rs | 2 +- stdlib/src/mmap.rs | 2 +- stdlib/src/overlapped.rs | 2 +- stdlib/src/posixsubprocess.rs | 2 +- stdlib/src/resource.rs | 2 +- stdlib/src/select.rs | 2 +- stdlib/src/socket.rs | 2 +- stdlib/src/ssl.rs | 2 +- stdlib/src/termios.rs | 2 +- stdlib/src/tkinter.rs | 2 +- vm/src/builtins/genericalias.rs | 4 ++-- vm/src/builtins/str.rs | 10 +++++----- vm/src/builtins/super.rs | 2 +- vm/src/bytes_inner.rs | 2 +- vm/src/stdlib/ctypes.rs | 2 +- vm/src/stdlib/ctypes/function.rs | 2 +- vm/src/stdlib/errno.rs | 2 +- vm/src/stdlib/marshal.rs | 2 +- vm/src/stdlib/msvcrt.rs | 2 +- vm/src/stdlib/nt.rs | 2 +- vm/src/stdlib/os.rs | 2 +- vm/src/stdlib/posix.rs | 2 +- vm/src/stdlib/posix_compat.rs | 2 +- vm/src/stdlib/pwd.rs | 2 +- vm/src/stdlib/signal.rs | 2 +- vm/src/stdlib/typevar.rs | 2 +- vm/src/stdlib/typing.rs | 2 +- vm/src/stdlib/winapi.rs | 2 +- vm/src/stdlib/winreg.rs | 2 +- vm/src/vm/setting.rs | 4 ++-- vm/sre_engine/tests/tests.rs | 2 +- wtf8/src/core_char.rs | 2 +- wtf8/src/core_str_count.rs | 2 +- wtf8/src/lib.rs | 2 +- 48 files changed, 54 insertions(+), 54 deletions(-) diff --git a/common/src/boxvec.rs b/common/src/boxvec.rs index d0cad013db..2b464509bd 100644 --- a/common/src/boxvec.rs +++ b/common/src/boxvec.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! An unresizable vector backed by a `Box<[T]>` #![allow(clippy::needless_lifetimes)] diff --git a/common/src/format.rs b/common/src/format.rs index cd76272201..99e2e42d23 100644 --- a/common/src/format.rs +++ b/common/src/format.rs @@ -1,4 +1,4 @@ -// cspell:ignore ddfe +// spell-checker:ignore ddfe use itertools::{Itertools, PeekingNext}; use malachite_bigint::{BigInt, Sign}; use num_traits::FromPrimitive; diff --git a/common/src/linked_list.rs b/common/src/linked_list.rs index 4e6e1b7000..d3f2ccaff5 100644 --- a/common/src/linked_list.rs +++ b/common/src/linked_list.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! This module is modified from tokio::util::linked_list: //! Tokio is licensed under the MIT license: diff --git a/common/src/lock/cell_lock.rs b/common/src/lock/cell_lock.rs index 6905d067bb..3d2889d0a4 100644 --- a/common/src/lock/cell_lock.rs +++ b/common/src/lock/cell_lock.rs @@ -1,4 +1,4 @@ -// cspell:ignore upgradably sharedly +// spell-checker:ignore upgradably sharedly use lock_api::{ GetThreadId, RawMutex, RawRwLock, RawRwLockDowngrade, RawRwLockRecursive, RawRwLockUpgrade, RawRwLockUpgradeDowngrade, diff --git a/common/src/os.rs b/common/src/os.rs index d37f28d28a..e298db462a 100644 --- a/common/src/os.rs +++ b/common/src/os.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable // TODO: we can move more os-specific bindings/interfaces from stdlib::{os, posix, nt} to here use std::{io, str::Utf8Error}; diff --git a/common/src/str.rs b/common/src/str.rs index 39215067d1..d1222dfb4d 100644 --- a/common/src/str.rs +++ b/common/src/str.rs @@ -1,4 +1,4 @@ -// cspell:ignore uncomputed +// spell-checker:ignore uncomputed use crate::atomic::{PyAtomic, Radium}; use crate::format::CharLen; use crate::wtf8::{CodePoint, Wtf8, Wtf8Buf}; diff --git a/example_projects/frozen_stdlib/src/main.rs b/example_projects/frozen_stdlib/src/main.rs index a49a4d2736..2688d2164a 100644 --- a/example_projects/frozen_stdlib/src/main.rs +++ b/example_projects/frozen_stdlib/src/main.rs @@ -1,4 +1,4 @@ -// cspell:ignore aheui +// spell-checker:ignore aheui /// Setting up a project with a frozen stdlib can be done *either* by using `rustpython::InterpreterConfig` or `rustpython_vm::Interpreter::with_init`. /// See each function for example. /// diff --git a/jit/src/instructions.rs b/jit/src/instructions.rs index fac947a98a..9ec0a4385e 100644 --- a/jit/src/instructions.rs +++ b/jit/src/instructions.rs @@ -1,4 +1,4 @@ -// cspell: disable +// spell-checker: disable use super::{JitCompileError, JitSig, JitType}; use cranelift::codegen::ir::FuncRef; use cranelift::prelude::*; diff --git a/src/lib.rs b/src/lib.rs index bb2b390655..362adfba49 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -242,7 +242,7 @@ fn write_profile(settings: &Settings) -> Result<(), Box> Some("html") => ProfileFormat::Html, Some("text") => ProfileFormat::Text, None if profile_output == Some("-".as_ref()) => ProfileFormat::Text, - // cspell:ignore speedscope + // spell-checker:ignore speedscope Some("speedscope") | None => ProfileFormat::SpeedScope, Some(other) => { error!("Unknown profile format {}", other); diff --git a/stdlib/build.rs b/stdlib/build.rs index 864ca0b041..b7bf630715 100644 --- a/stdlib/build.rs +++ b/stdlib/build.rs @@ -1,4 +1,4 @@ -// cspell:ignore ossl osslconf +// spell-checker:ignore ossl osslconf fn main() { println!(r#"cargo::rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_COMP"))"#); diff --git a/stdlib/src/compression.rs b/stdlib/src/compression.rs index 5a79a397cb..3f15088c5d 100644 --- a/stdlib/src/compression.rs +++ b/stdlib/src/compression.rs @@ -1,4 +1,4 @@ -// cspell:ignore chunker +// spell-checker:ignore chunker //! internal shared module for compression libraries diff --git a/stdlib/src/fcntl.rs b/stdlib/src/fcntl.rs index aaf1dd1036..84b60b43ba 100644 --- a/stdlib/src/fcntl.rs +++ b/stdlib/src/fcntl.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use fcntl::make_module; diff --git a/stdlib/src/grp.rs b/stdlib/src/grp.rs index 9c946dd582..b640494c13 100644 --- a/stdlib/src/grp.rs +++ b/stdlib/src/grp.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use grp::make_module; #[pymodule] diff --git a/stdlib/src/json/machinery.rs b/stdlib/src/json/machinery.rs index a4344e363c..d83386232e 100644 --- a/stdlib/src/json/machinery.rs +++ b/stdlib/src/json/machinery.rs @@ -1,4 +1,4 @@ -// cspell:ignore LOJKINE +// spell-checker:ignore LOJKINE // derived from https://github.com/lovasoa/json_in_type // BSD 2-Clause License diff --git a/stdlib/src/locale.rs b/stdlib/src/locale.rs index 6cde173fb1..eadba4519a 100644 --- a/stdlib/src/locale.rs +++ b/stdlib/src/locale.rs @@ -1,4 +1,4 @@ -// cspell:ignore abday abmon yesexpr noexpr CRNCYSTR RADIXCHAR AMPM THOUSEP +// spell-checker:ignore abday abmon yesexpr noexpr CRNCYSTR RADIXCHAR AMPM THOUSEP pub(crate) use _locale::make_module; diff --git a/stdlib/src/mmap.rs b/stdlib/src/mmap.rs index 0a263555fb..ed92b74d2f 100644 --- a/stdlib/src/mmap.rs +++ b/stdlib/src/mmap.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! mmap module pub(crate) use mmap::make_module; diff --git a/stdlib/src/overlapped.rs b/stdlib/src/overlapped.rs index 1021cca921..9d816a03d4 100644 --- a/stdlib/src/overlapped.rs +++ b/stdlib/src/overlapped.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use _overlapped::make_module; diff --git a/stdlib/src/posixsubprocess.rs b/stdlib/src/posixsubprocess.rs index 83daddb356..bcf2e5ddc1 100644 --- a/stdlib/src/posixsubprocess.rs +++ b/stdlib/src/posixsubprocess.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::vm::{ builtins::PyListRef, diff --git a/stdlib/src/resource.rs b/stdlib/src/resource.rs index c9b956fa46..a45d024b6c 100644 --- a/stdlib/src/resource.rs +++ b/stdlib/src/resource.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use resource::make_module; diff --git a/stdlib/src/select.rs b/stdlib/src/select.rs index 905358f686..f9c86d7a92 100644 --- a/stdlib/src/select.rs +++ b/stdlib/src/select.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::vm::{ PyObject, PyObjectRef, PyRef, PyResult, TryFromObject, VirtualMachine, builtins::PyListRef, diff --git a/stdlib/src/socket.rs b/stdlib/src/socket.rs index b57f05c967..38c1522d1b 100644 --- a/stdlib/src/socket.rs +++ b/stdlib/src/socket.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::vm::{PyRef, VirtualMachine, builtins::PyModule}; #[cfg(feature = "ssl")] diff --git a/stdlib/src/ssl.rs b/stdlib/src/ssl.rs index dcce661648..0e9de9c0dc 100644 --- a/stdlib/src/ssl.rs +++ b/stdlib/src/ssl.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::vm::{PyRef, VirtualMachine, builtins::PyModule}; use openssl_probe::ProbeResult; diff --git a/stdlib/src/termios.rs b/stdlib/src/termios.rs index a9df78366a..5bd8395ec3 100644 --- a/stdlib/src/termios.rs +++ b/stdlib/src/termios.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use self::termios::make_module; diff --git a/stdlib/src/tkinter.rs b/stdlib/src/tkinter.rs index 242570b410..687458b193 100644 --- a/stdlib/src/tkinter.rs +++ b/stdlib/src/tkinter.rs @@ -1,4 +1,4 @@ -// cspell:ignore createcommand +// spell-checker:ignore createcommand pub(crate) use self::_tkinter::make_module; diff --git a/vm/src/builtins/genericalias.rs b/vm/src/builtins/genericalias.rs index 86797241fb..84a820e064 100644 --- a/vm/src/builtins/genericalias.rs +++ b/vm/src/builtins/genericalias.rs @@ -1,4 +1,4 @@ -// cspell:ignore iparam +// spell-checker:ignore iparam use std::sync::LazyLock; use super::type_; @@ -590,7 +590,7 @@ impl Representable for PyGenericAlias { impl Iterable for PyGenericAlias { // ga_iter - // cspell:ignore gaiterobject + // spell-checker:ignore gaiterobject // TODO: gaiterobject fn iter(zelf: PyRef, vm: &VirtualMachine) -> PyResult { // CPython's ga_iter creates an iterator that yields one starred GenericAlias diff --git a/vm/src/builtins/str.rs b/vm/src/builtins/str.rs index 87f39ce38b..feb2231e7d 100644 --- a/vm/src/builtins/str.rs +++ b/vm/src/builtins/str.rs @@ -577,7 +577,7 @@ impl PyStr { fn _compute_hash(&self, vm: &VirtualMachine) -> hash::PyHash { let hash_val = vm.state.hash_secret.hash_bytes(self.as_bytes()); debug_assert_ne!(hash_val, hash::SENTINEL); - // cspell:ignore cmpxchg + // spell-checker:ignore cmpxchg // like with char_len, we don't need a cmpxchg loop, since it'll always be the same value self.hash.store(hash_val, atomic::Ordering::Relaxed); hash_val @@ -2263,9 +2263,9 @@ mod tests { ("Format This As Title String", "fOrMaT thIs aS titLe String"), ("Format,This-As*Title;String", "fOrMaT,thIs-aS*titLe;String"), ("Getint", "getInt"), - // cspell:disable-next-line + // spell-checker:disable-next-line ("Greek Ωppercases ...", "greek ωppercases ..."), - // cspell:disable-next-line + // spell-checker:disable-next-line ("Greek ῼitlecases ...", "greek ῳitlecases ..."), ]; for (title, input) in tests { @@ -2280,9 +2280,9 @@ mod tests { "A Titlecased Line", "A\nTitlecased Line", "A Titlecased, Line", - // cspell:disable-next-line + // spell-checker:disable-next-line "Greek Ωppercases ...", - // cspell:disable-next-line + // spell-checker:disable-next-line "Greek ῼitlecases ...", ]; diff --git a/vm/src/builtins/super.rs b/vm/src/builtins/super.rs index 84575620b7..6e3c7fde47 100644 --- a/vm/src/builtins/super.rs +++ b/vm/src/builtins/super.rs @@ -1,4 +1,4 @@ -// cspell:ignore cmeth +// spell-checker:ignore cmeth /*! Python `super` class. See also [CPython source code.](https://github.com/python/cpython/blob/50b48572d9a90c5bb36e2bef6179548ea927a35a/Objects/typeobject.c#L7663) diff --git a/vm/src/bytes_inner.rs b/vm/src/bytes_inner.rs index 0aeeb7e54c..fef9e67b56 100644 --- a/vm/src/bytes_inner.rs +++ b/vm/src/bytes_inner.rs @@ -1,4 +1,4 @@ -// cspell:ignore unchunked +// spell-checker:ignore unchunked use crate::{ AsObject, PyObject, PyObjectRef, PyPayload, PyResult, TryFromBorrowedObject, VirtualMachine, anystr::{self, AnyStr, AnyStrContainer, AnyStrWrapper}, diff --git a/vm/src/stdlib/ctypes.rs b/vm/src/stdlib/ctypes.rs index fffee79761..8ea4dd165e 100644 --- a/vm/src/stdlib/ctypes.rs +++ b/vm/src/stdlib/ctypes.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) mod array; pub(crate) mod base; diff --git a/vm/src/stdlib/ctypes/function.rs b/vm/src/stdlib/ctypes/function.rs index 66103a3dea..4ecff564b8 100644 --- a/vm/src/stdlib/ctypes/function.rs +++ b/vm/src/stdlib/ctypes/function.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::builtins::{PyStr, PyTupleRef, PyTypeRef}; use crate::convert::ToPyObject; diff --git a/vm/src/stdlib/errno.rs b/vm/src/stdlib/errno.rs index c77fcbfefc..7a78ceaea8 100644 --- a/vm/src/stdlib/errno.rs +++ b/vm/src/stdlib/errno.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::{PyRef, VirtualMachine, builtins::PyModule}; diff --git a/vm/src/stdlib/marshal.rs b/vm/src/stdlib/marshal.rs index 6aaa5453a1..4498b0eebf 100644 --- a/vm/src/stdlib/marshal.rs +++ b/vm/src/stdlib/marshal.rs @@ -1,4 +1,4 @@ -// cspell:ignore pyfrozen pycomplex +// spell-checker:ignore pyfrozen pycomplex pub(crate) use decl::make_module; #[pymodule(name = "marshal")] diff --git a/vm/src/stdlib/msvcrt.rs b/vm/src/stdlib/msvcrt.rs index 151c62a3aa..393ddd80fd 100644 --- a/vm/src/stdlib/msvcrt.rs +++ b/vm/src/stdlib/msvcrt.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub use msvcrt::*; diff --git a/vm/src/stdlib/nt.rs b/vm/src/stdlib/nt.rs index 30c1aca84c..b180744fe0 100644 --- a/vm/src/stdlib/nt.rs +++ b/vm/src/stdlib/nt.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::{PyRef, VirtualMachine, builtins::PyModule}; diff --git a/vm/src/stdlib/os.rs b/vm/src/stdlib/os.rs index 8b13b77fb1..0349307b27 100644 --- a/vm/src/stdlib/os.rs +++ b/vm/src/stdlib/os.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::{ AsObject, Py, PyPayload, PyResult, VirtualMachine, diff --git a/vm/src/stdlib/posix.rs b/vm/src/stdlib/posix.rs index f826942637..e7e6782b12 100644 --- a/vm/src/stdlib/posix.rs +++ b/vm/src/stdlib/posix.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::{PyRef, VirtualMachine, builtins::PyModule}; use std::os::unix::io::RawFd; diff --git a/vm/src/stdlib/posix_compat.rs b/vm/src/stdlib/posix_compat.rs index 696daf7f0f..da8dddfb1e 100644 --- a/vm/src/stdlib/posix_compat.rs +++ b/vm/src/stdlib/posix_compat.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! `posix` compatible module for `not(any(unix, windows))` use crate::{PyRef, VirtualMachine, builtins::PyModule}; diff --git a/vm/src/stdlib/pwd.rs b/vm/src/stdlib/pwd.rs index 20b4edb448..633a710030 100644 --- a/vm/src/stdlib/pwd.rs +++ b/vm/src/stdlib/pwd.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable pub(crate) use pwd::make_module; diff --git a/vm/src/stdlib/signal.rs b/vm/src/stdlib/signal.rs index b0b0343961..ff59208ade 100644 --- a/vm/src/stdlib/signal.rs +++ b/vm/src/stdlib/signal.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use crate::{PyRef, VirtualMachine, builtins::PyModule}; diff --git a/vm/src/stdlib/typevar.rs b/vm/src/stdlib/typevar.rs index 9b225b0793..efaa631196 100644 --- a/vm/src/stdlib/typevar.rs +++ b/vm/src/stdlib/typevar.rs @@ -1,4 +1,4 @@ -// cspell:ignore typevarobject funcobj +// spell-checker:ignore typevarobject funcobj use crate::{ AsObject, PyObject, PyObjectRef, PyPayload, PyRef, PyResult, VirtualMachine, builtins::{PyTupleRef, PyTypeRef, pystr::AsPyStr}, diff --git a/vm/src/stdlib/typing.rs b/vm/src/stdlib/typing.rs index 5eeca8852b..02559ae013 100644 --- a/vm/src/stdlib/typing.rs +++ b/vm/src/stdlib/typing.rs @@ -1,4 +1,4 @@ -// cspell:ignore typevarobject funcobj +// spell-checker:ignore typevarobject funcobj use crate::{PyPayload, PyRef, VirtualMachine, class::PyClassImpl, stdlib::PyModule}; pub use crate::stdlib::typevar::{ diff --git a/vm/src/stdlib/winapi.rs b/vm/src/stdlib/winapi.rs index 1adb48bee6..10a14acbc9 100644 --- a/vm/src/stdlib/winapi.rs +++ b/vm/src/stdlib/winapi.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable #![allow(non_snake_case)] pub(crate) use _winapi::make_module; diff --git a/vm/src/stdlib/winreg.rs b/vm/src/stdlib/winreg.rs index bc671114d4..d64a05ea40 100644 --- a/vm/src/stdlib/winreg.rs +++ b/vm/src/stdlib/winreg.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable #![allow(non_snake_case)] use crate::{PyRef, VirtualMachine, builtins::PyModule}; diff --git a/vm/src/vm/setting.rs b/vm/src/vm/setting.rs index 725bc272ae..f6fa8ec4a8 100644 --- a/vm/src/vm/setting.rs +++ b/vm/src/vm/setting.rs @@ -36,11 +36,11 @@ pub struct Settings { /// sys.argv pub argv: Vec, - // cspell:ignore Xfoo + // spell-checker:ignore Xfoo /// -Xfoo[=bar] pub xoptions: Vec<(String, Option)>, - // cspell:ignore Wfoo + // spell-checker:ignore Wfoo /// -Wfoo pub warnoptions: Vec, diff --git a/vm/sre_engine/tests/tests.rs b/vm/sre_engine/tests/tests.rs index 0ada32e5db..72a11c55b1 100644 --- a/vm/sre_engine/tests/tests.rs +++ b/vm/sre_engine/tests/tests.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable use rustpython_sre_engine::{Request, State, StrDrive}; struct Pattern { diff --git a/wtf8/src/core_char.rs b/wtf8/src/core_char.rs index e2400430cd..66f321d8aa 100644 --- a/wtf8/src/core_char.rs +++ b/wtf8/src/core_char.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! Unstable functions from [`core::char`] use core::slice; diff --git a/wtf8/src/core_str_count.rs b/wtf8/src/core_str_count.rs index bbfbc7aa42..9bc2d8d5b8 100644 --- a/wtf8/src/core_str_count.rs +++ b/wtf8/src/core_str_count.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! Modified from core::str::count use super::Wtf8; diff --git a/wtf8/src/lib.rs b/wtf8/src/lib.rs index c5d84e0579..01deb61f19 100644 --- a/wtf8/src/lib.rs +++ b/wtf8/src/lib.rs @@ -1,4 +1,4 @@ -// cspell:disable +// spell-checker:disable //! An implementation of [WTF-8], a utf8-compatible encoding that allows for //! unpaired surrogate codepoints. This implementation additionally allows for