Skip to content

Commit d40cbbb

Browse files
authored
Fix cspell warning (#5890)
* Fix cspell warning * cspell: -> spell-checker:
1 parent fffa735 commit d40cbbb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+54
-53
lines changed

common/src/boxvec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:disable
1+
// spell-checker:disable
22
//! An unresizable vector backed by a `Box<[T]>`
33
44
#![allow(clippy::needless_lifetimes)]

common/src/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:ignore ddfe
1+
// spell-checker:ignore ddfe
22
use itertools::{Itertools, PeekingNext};
33
use malachite_bigint::{BigInt, Sign};
44
use num_traits::FromPrimitive;

common/src/linked_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:disable
1+
// spell-checker:disable
22

33
//! This module is modified from tokio::util::linked_list: <https://github.com/tokio-rs/tokio/blob/master/tokio/src/util/linked_list.rs>
44
//! Tokio is licensed under the MIT license:

common/src/lock/cell_lock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// spell-checker:ignore upgradably sharedly
12
use lock_api::{
23
GetThreadId, RawMutex, RawRwLock, RawRwLockDowngrade, RawRwLockRecursive, RawRwLockUpgrade,
34
RawRwLockUpgradeDowngrade,

common/src/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:disable
1+
// spell-checker:disable
22
// TODO: we can move more os-specific bindings/interfaces from stdlib::{os, posix, nt} to here
33

44
use std::{io, str::Utf8Error};

common/src/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:ignore uncomputed
1+
// spell-checker:ignore uncomputed
22
use crate::atomic::{PyAtomic, Radium};
33
use crate::format::CharLen;
44
use crate::wtf8::{CodePoint, Wtf8, Wtf8Buf};

example_projects/frozen_stdlib/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:ignore aheui
1+
// spell-checker:ignore aheui
22
/// Setting up a project with a frozen stdlib can be done *either* by using `rustpython::InterpreterConfig` or `rustpython_vm::Interpreter::with_init`.
33
/// See each function for example.
44
///

jit/src/instructions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell: disable
1+
// spell-checker: disable
22
use super::{JitCompileError, JitSig, JitType};
33
use cranelift::codegen::ir::FuncRef;
44
use cranelift::prelude::*;

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fn write_profile(settings: &Settings) -> Result<(), Box<dyn std::error::Error>>
242242
Some("html") => ProfileFormat::Html,
243243
Some("text") => ProfileFormat::Text,
244244
None if profile_output == Some("-".as_ref()) => ProfileFormat::Text,
245-
// cspell:ignore speedscope
245+
// spell-checker:ignore speedscope
246246
Some("speedscope") | None => ProfileFormat::SpeedScope,
247247
Some(other) => {
248248
error!("Unknown profile format {}", other);

stdlib/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cspell:ignore ossl osslconf
1+
// spell-checker:ignore ossl osslconf
22

33
fn main() {
44
println!(r#"cargo::rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_COMP"))"#);

0 commit comments

Comments
 (0)