Skip to content

Commit 88125e8

Browse files
committed
[mlir] Fix attachInterface typo
This commit fixes the documentation typo regarding `attachInterface`. Differential Revision: https://reviews.llvm.org/D108666
1 parent 76777b2 commit 88125e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/docs/Interfaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ int main() {
285285
MLIRContext context;
286286
/* ... */;
287287

288-
// Register the interface model with the type in the given context before
289-
// using it. The dialect contaiing the type is expected to have been loaded
288+
// Attach the interface model to the type in the given context before
289+
// using it. The dialect containing the type is expected to have been loaded
290290
// at this point.
291-
IntegerType::registerInterface<ExternalModelExample>(context);
291+
IntegerType::attachInterface<ExternalModelExample>(context);
292292
}
293293
```
294294

0 commit comments

Comments
 (0)