Skip to content

Commit 8bbb137

Browse files
committed
Fix typo
1 parent 0bad94a commit 8bbb137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/emmylua_code_analysis/src/semantic/generic/tpl_pattern.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,11 +759,11 @@ fn return_type_pattern_match_target_type(
759759
}
760760

761761
fn func_varargs_tpl_pattern_match(
762-
varidic: &VariadicType,
762+
variadic: &VariadicType,
763763
target_rest_params: &[(String, Option<LuaType>)],
764764
substitutor: &mut TypeSubstitutor,
765765
) -> TplPatternMatchResult {
766-
match varidic {
766+
match variadic {
767767
VariadicType::Base(base) => {
768768
if let LuaType::TplRef(tpl_ref) = base {
769769
let tpl_id = tpl_ref.get_tpl_id();

0 commit comments

Comments
 (0)