[mlir][NFC] Fix a few langref typos
authorRiver Riddle <riddleriver@gmail.com>
Mon, 16 May 2022 23:23:01 +0000 (16:23 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Mon, 16 May 2022 23:23:01 +0000 (16:23 -0700)
mlir/docs/LangRef.md

index cb383be..d264b30 100644 (file)
@@ -95,8 +95,7 @@ func.func @mul(%A: tensor<100x?xf32>, %B: tensor<?x50xf32>) -> (tensor<100x50xf3
   memref.dealloc %C_m : memref<100x50xf32>
 
   // Call TensorFlow built-in function to print the result tensor.
-  "tf.Print"(%C){message: "mul result"}
-                  : (tensor<100x50xf32) -> (tensor<100x50xf32>)
+  "tf.Print"(%C){message: "mul result"} : (tensor<100x50xf32>) -> (tensor<100x50xf32>)
 
   return %C : tensor<100x50xf32>
 }
@@ -152,7 +151,7 @@ literal     ::= `abcd` // Matches the literal `abcd`.
 
 Code examples are presented in blue boxes.
 
-```mlir
+```
 // This is an example use of the grammar above:
 // This matches things like: ba, bana, boma, banana, banoma, bomana...
 example ::= `b` (`an` | `om`)* `a`