[Mlir-commits] [mlir] [mlir]: Fix typo in toy tutorial (PR #200640)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun May 31 00:41:51 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Maximilian Ehlers (b-m-f)
<details>
<summary>Changes</summary>
Could be:
- `will allow`
- `allows`
I went for the latter, but can also update the MR.
---
Full diff: https://github.com/llvm/llvm-project/pull/200640.diff
1 Files Affected:
- (modified) mlir/docs/Tutorials/Toy/Ch-2.md (+1-1)
``````````diff
diff --git a/mlir/docs/Tutorials/Toy/Ch-2.md b/mlir/docs/Tutorials/Toy/Ch-2.md
index 5ed8a4c227bfa..cdc30a6156264 100644
--- a/mlir/docs/Tutorials/Toy/Ch-2.md
+++ b/mlir/docs/Tutorials/Toy/Ch-2.md
@@ -620,7 +620,7 @@ def PrintOp : Toy_Op<"print"> {
A C++ implementation for the printer and parser is shown below:
```c++
-/// The 'OpAsmPrinter' class is a stream that will allows for formatting
+/// The 'OpAsmPrinter' class is a stream that allows for formatting
/// strings, attributes, operands, types, etc.
void PrintOp::print(mlir::OpAsmPrinter &printer) {
printer << "toy.print " << op.input();
``````````
</details>
https://github.com/llvm/llvm-project/pull/200640
More information about the Mlir-commits
mailing list