[Mlir-commits] [mlir] [mlir]: Fix typo in toy tutorial (PR #200640)

Maximilian Ehlers llvmlistbot at llvm.org
Sun May 31 00:59:09 PDT 2026


https://github.com/b-m-f updated https://github.com/llvm/llvm-project/pull/200640

>From a9acdd016d89b5e45c5e594d8c2a2f1a960fe96f Mon Sep 17 00:00:00 2001
From: Maximilian Ehlers <maximilian at sodawa.com>
Date: Sun, 31 May 2026 09:39:49 +0200
Subject: [PATCH] [mlir]: Fix typo in toy tutorial

Signed-off-by: Maximilian Ehlers <maximilian at sodawa.com>
---
 mlir/docs/Tutorials/Toy/Ch-2.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();



More information about the Mlir-commits mailing list