Skip to content

Commit 8178e72

Browse files
authored
[mlir][func] Fix return op example (#121470)
Similiar to #121112.
1 parent 02b3012 commit 8178e72

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)