fix a typo in OpDefinitions doc
authorJin Mingjian <jin.phd@gmail.com>
Tue, 17 Dec 2019 18:25:19 +0000 (10:25 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 17 Dec 2019 18:25:52 +0000 (10:25 -0800)
[{ matched with }], rather than ]}

Closes tensorflow/mlir#320

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/320 from jinmingjian:patch-1 6b0870d02284f023bda2b28380960eb31d34f3b6
PiperOrigin-RevId: 286007638

mlir/g3doc/OpDefinitions.md

index 0e786a0..7b7105c 100644 (file)
@@ -505,7 +505,7 @@ def MyOp : ... {
   let builders = [
     OpBuilder<"Builder *builder, OperationState &state, float val = 0.5f", [{
       state.addAttribute("attr", builder->getF32FloatAttr(val));
-    ]}>
+    }]>
   ];
 }
 ```