[mlir] Fix attachInterface typo

This commit fixes the documentation typo regarding `attachInterface`.

Differential Revision: https://reviews.llvm.org/D108666
This commit is contained in:
Logan Chien 2021-08-24 14:39:59 -07:00
parent 76777b216b
commit 88125e8af1
1 changed files with 3 additions and 3 deletions

View File

@ -285,10 +285,10 @@ int main() {
MLIRContext context;
/* ... */;
// Register the interface model with the type in the given context before
// using it. The dialect contaiing the type is expected to have been loaded
// Attach the interface model to the type in the given context before
// using it. The dialect containing the type is expected to have been loaded
// at this point.
IntegerType::registerInterface<ExternalModelExample>(context);
IntegerType::attachInterface<ExternalModelExample>(context);
}
```