Skip to content

Commit 20f2ce7

Browse files
committed
Fix incorrect words
1 parent 23affe1 commit 20f2ce7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ fn write_encoding_table_cp_map(mut dst: impl Write, tables: &[(u16, Table)]) ->
248248
/// if let Some(cp437_table) = ENCODING_TABLE_CP_MAP.get(&437) {{
249249
/// assert_eq!(encode_string_checked("π≈22/7", cp437_table), Some(vec![0xE3, 0xF7, 0x32, 0x32, 0x2F, 0x37]));
250250
/// }} else {{
251-
/// panic!("CP437 must be registerd in ENCODING_TABLE_CP_MAP");
251+
/// panic!("CP437 must be registered in ENCODING_TABLE_CP_MAP");
252252
/// }}
253253
/// ```
254254
pub static ENCODING_TABLE_CP_MAP: OEMCPHashMap<u16, &'static OEMCPHashMap<char, u8>> = {map};"#,

fetch_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class GitHubICUTableGenerator(ITableGenerator):
4848
UCM_SEARCH_REGEX = re.compile(
4949
r"(?<=CHARMAP\n)(<U[0-9A-F]+> \\x[0-9A-F]+ \|\d\n)+(?=END CHARMAP)"
5050
)
51-
# ones other than 0 don't make sence
51+
# ones other than 0 don't make sense
5252
UCM_PARSING_REGEX = re.compile(r"<U([0-9A-F]+)> \\x([0-9A-F]+) \|0")
5353

5454
def search_ucm_file(self, search: str) -> str:

0 commit comments

Comments
 (0)