Skip to content

Commit 499ec86

Browse files
ankddevgiacomocavalieri
authored andcommitted
chore: clarify comment
Co-authored-by: Giacomo Cavalieri <giacomo.cavalieri@icloud.com>
1 parent be5cd80 commit 499ec86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler-core/src/type_/pattern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ impl<'a, 'b> PatternTyper<'a, 'b> {
10991099
}
11001100

11011101
None => {
1102-
// The fun or constructor has no field map and so we
1102+
// The constructor has no field map and so we
11031103
// error if arguments have been labelled
11041104
match assert_no_labelled_arguments(
11051105
&pattern_arguments,

0 commit comments

Comments
 (0)