Skip to content

Commit 1c92833

Browse files
committed
review: fix typo
1 parent a6f4ba0 commit 1c92833

File tree

1 file changed

+1
-1
lines changed
  • crates/ruff_linter/src/message

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/message/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ fn replace_whitespace_and_unprintable(source: &str, annotation_range: TextRange)
327327

328328
if matches!(c, '\t') {
329329
let tab_width = u32::try_from(line_width.get() - old_width)
330-
.expect("small width because of tab sisze");
330+
.expect("small width because of tab size");
331331
result.push_str(&source[last_end..index]);
332332
for _ in 0..tab_width {
333333
result.push(' ');

0 commit comments

Comments
 (0)