diff --git a/mlir/docs/Traits.md b/mlir/docs/Traits.md --- a/mlir/docs/Traits.md +++ b/mlir/docs/Traits.md @@ -73,7 +73,7 @@ public: /// Override the 'foldTrait' hook to support trait based folding on the /// concrete operation. - static OpFoldResult foldTrait(Operation *op, ArrayRef operands) { { + static OpFoldResult foldTrait(Operation *op, ArrayRef operands) { // ... } }; @@ -90,7 +90,7 @@ /// Override the 'foldTrait' hook to support trait based folding on the /// concrete operation. static LogicalResult foldTrait(Operation *op, ArrayRef operands, - SmallVectorImpl &results) { { + SmallVectorImpl &results) { // ... } };