Skip to content

Commit e6af298

Browse files
marbregithub-actions[bot]
authored andcommitted
Automerge: [mlir][func] Fix return op example (#121470)
Similiar to #121112.
2 parents e8c7efe + 8178e72 commit e6af298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Func/IR/FuncOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def ReturnOp : Func_Op<"return", [Pure, HasParent<"FuncOp">,
352352
Example:
353353

354354
```mlir
355-
func.func @foo() : (i32, f8) {
355+
func.func @foo() -> (i32, f8) {
356356
...
357357
return %0, %1 : i32, f8
358358
}

0 commit comments

Comments
 (0)