Skip to content

Commit 9f39867

Browse files
committed
[mlir][NFC] Fix a few langref typos
1 parent 0d863b5 commit 9f39867

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/docs/LangRef.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ func.func @mul(%A: tensor<100x?xf32>, %B: tensor<?x50xf32>) -> (tensor<100x50xf3
9595
memref.dealloc %C_m : memref<100x50xf32>
9696
9797
// Call TensorFlow built-in function to print the result tensor.
98-
"tf.Print"(%C){message: "mul result"}
99-
: (tensor<100x50xf32) -> (tensor<100x50xf32>)
98+
"tf.Print"(%C){message: "mul result"} : (tensor<100x50xf32>) -> (tensor<100x50xf32>)
10099
101100
return %C : tensor<100x50xf32>
102101
}
@@ -152,7 +151,7 @@ literal ::= `abcd` // Matches the literal `abcd`.
152151

153152
Code examples are presented in blue boxes.
154153

155-
```mlir
154+
```
156155
// This is an example use of the grammar above:
157156
// This matches things like: ba, bana, boma, banana, banoma, bomana...
158157
example ::= `b` (`an` | `om`)* `a`

0 commit comments

Comments
 (0)