[Support][NFC] Fix typo in comment
authorFraser Cormack <fraser@codeplay.com>
Tue, 27 Sep 2022 06:31:21 +0000 (07:31 +0100)
committerFraser Cormack <fraser@codeplay.com>
Tue, 27 Sep 2022 06:31:21 +0000 (07:31 +0100)
llvm/include/llvm/Support/Error.h

index 1eb498f..0282f18 100644 (file)
@@ -463,7 +463,7 @@ inline Error joinErrors(Error E1, Error E2) {
 ///     outs() << "The answer is " << *Result << "\n";
 ///   @endcode
 ///
-///  For unit-testing a function returning an 'Expceted<T>', see the
+///  For unit-testing a function returning an 'Expected<T>', see the
 ///  'EXPECT_THAT_EXPECTED' macros in llvm/Testing/Support/Error.h
 
 template <class T> class [[nodiscard]] Expected {