Skip to content

Commit 25bf90e

Browse files
authored
[MLIR][Docs] Fix typo in addTypeAttributeConversion comment (#146977)
Typo in ``` This result can either contan an `Attribute`, ``` to ``` This result can either contain an `Attribute`, ``` rest is clang-format Signed-off-by: Xiaomin Liu <xl4624@nyu.edu>
1 parent 06c988c commit 25bf90e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

mlir/include/mlir/Transforms/DialectConversion.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,13 @@ class TypeConverter {
221221
///
222222
/// The conversion functions take a non-null Type or subclass of Type and a
223223
/// non-null Attribute (or subclass of Attribute), and returns a
224-
/// `AttributeConversionResult`. This result can either contan an `Attribute`,
225-
/// which may be `nullptr`, representing the conversion's success,
226-
/// `AttributeConversionResult::na()` (the default empty value), indicating
227-
/// that the conversion function did not apply and that further conversion
228-
/// functions should be checked, or `AttributeConversionResult::abort()`
229-
/// indicating that the conversion process should be aborted.
224+
/// `AttributeConversionResult`. This result can either contain an
225+
/// `Attribute`, which may be `nullptr`, representing the conversion's
226+
/// success, `AttributeConversionResult::na()` (the default empty value),
227+
/// indicating that the conversion function did not apply and that further
228+
/// conversion functions should be checked, or
229+
/// `AttributeConversionResult::abort()` indicating that the conversion
230+
/// process should be aborted.
230231
///
231232
/// Registered conversion functions are callled in the reverse of the order in
232233
/// which they were registered.

0 commit comments

Comments
 (0)