Skip to content

Commit d0ee358

Browse files
authored
Fix typo in IRDL docs (llvm#140460)
Rename "can has" -> to "has". And replace a "can have" with a "has" to make it explicit that something is required.
1 parent 61d3ad9 commit d0ee358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def IRDL_AnyOfOp : IRDL_ConstraintOp<"any_of",
597597
```
598598

599599
The above program defines a type `complex` inside the dialect `cmath` that
600-
can have a single type parameter that can be either `i32`, `i64`, `f32` or
600+
has a single type parameter that can be either `i32`, `i64`, `f32` or
601601
`f64`.
602602
}];
603603

@@ -634,7 +634,7 @@ def IRDL_AllOfOp : IRDL_ConstraintOp<"all_of",
634634
```
635635

636636
The above program defines a type `complex` inside the dialect `cmath` that
637-
can has one parameter that must be 32-bit long and a float (in other
637+
has one parameter that must be 32-bit long and a float (in other
638638
words, that must be `f32`).
639639
}];
640640

0 commit comments

Comments
 (0)