[Mlir-commits] [mlir] [mlir][doc] fixup code block (PR #153977)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Aug 16 13:11:55 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Erik Davis (braised-babbage)

<details>
<summary>Changes</summary>

This fixes a small typo in the toy tutorial. A code block was not correctly terminated, causing it to run into the subsequent block.

---
Full diff: https://github.com/llvm/llvm-project/pull/153977.diff


1 Files Affected:

- (modified) mlir/docs/Tutorials/Toy/Ch-4.md (+1-1) 


``````````diff
diff --git a/mlir/docs/Tutorials/Toy/Ch-4.md b/mlir/docs/Tutorials/Toy/Ch-4.md
index e9abe36afc4d7..621f6a684285a 100644
--- a/mlir/docs/Tutorials/Toy/Ch-4.md
+++ b/mlir/docs/Tutorials/Toy/Ch-4.md
@@ -170,7 +170,7 @@ let arguments = (ins
   OptionalAttr<DictArrayAttr>:$arg_attrs,
   OptionalAttr<DictArrayAttr>:$res_attrs
 );
-
+```
 
 We have already provided the definition in the `extraClassDeclaration`
 field of the `FuncOp` class:

``````````

</details>


https://github.com/llvm/llvm-project/pull/153977


More information about the Mlir-commits mailing list