Fix the typo checking CI (#3824)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-03-03 21:32:59 -06:00
1 parent 9361c3ecd9
commit 0251221c69
1 file changed
+2 -2
+2 -2
View File
@@ -12,11 +12,11 @@ pub struct IndentOptions {
}
impl IndentOptions {
pub fn new(typ: IndentType, width: usize, split_line_attributes: bool) -> Self {
pub fn new(ty: IndentType, width: usize, split_line_attributes: bool) -> Self {
assert_ne!(width, 0, "Cannot have an indent width of 0");
Self {
width,
indent_string: match typ {
indent_string: match ty {
IndentType::Tabs => "\t".into(),
IndentType::Spaces => " ".repeat(width),
},