Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 60a7bac

Browse filesBrowse files
committed
more cspell fixes
1 parent 8063148 commit 60a7bac
Copy full SHA for 60a7bac

File tree

2 files changed

+13
-3
lines changed
Filter options

2 files changed

+13
-3
lines changed

‎.cspell.json

Copy file name to clipboardExpand all lines: .cspell.json
+11-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
// words - list of words to be always considered correct
4848
"words": [
4949
// RustPython
50+
"awaitpromise",
5051
"baseclass",
5152
"Bytecode",
5253
"cfgs",
@@ -58,8 +59,12 @@
5859
"dumpable",
5960
"GetSet",
6061
"internable",
62+
"jserr",
63+
"jsresult",
64+
"lossily",
6165
"makeunicodedata",
6266
"miri",
67+
"nonoverlapping",
6368
"notrace",
6469
"pyarg",
6570
"pyarg",
@@ -84,20 +89,25 @@
8489
"PyResult",
8590
"pyslot",
8691
"PyStaticMethod",
92+
"pystone",
8793
"pystr",
8894
"pystruct",
8995
"pystructseq",
9096
"pytrace",
9197
"reducelib",
9298
"richcompare",
99+
"rustpy",
93100
"RustPython",
94101
"struc",
102+
"surrogateescape",
95103
"tracebacks",
96104
"typealiases",
97-
"Unconstructible",
105+
"ufrexp",
106+
"unconstructible",
98107
"unhashable",
99108
"uninit",
100109
"unraisable",
110+
"unresizable",
101111
"wasi",
102112
"zelf",
103113
],

‎wtf8/src/lib.rs

Copy file name to clipboardExpand all lines: wtf8/src/lib.rs
+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//! string has no surrogates, it can be viewed as a UTF-8 Rust [`str`] without
2323
//! needing any copies or re-encoding.
2424
//!
25-
//! This implementation is mostly copied from the WTF-8 implentation in the
25+
//! This implementation is mostly copied from the WTF-8 implementation in the
2626
//! Rust 1.85 standard library, which is used as the backing for [`OsStr`] on
2727
//! Windows targets. As previously mentioned, however, it is modified to not
2828
//! join two surrogates into one codepoint when concatenating strings, in order
@@ -757,7 +757,7 @@ impl Wtf8 {
757757

758758
/// Create a WTF-8 slice from a WTF-8 byte slice.
759759
//
760-
// whooops! using WTF-8 for interchange!
760+
// whoops! using WTF-8 for interchange!
761761
#[inline]
762762
pub fn from_bytes(b: &[u8]) -> Option<&Self> {
763763
let mut rest = b;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.